[#794] fixed comment typos

This commit is contained in:
Jan Lauber
2022-10-17 19:17:44 +02:00
committed by GitHub
parent 6385c5e646
commit 9cbb2e750e
11 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func (dao *Dao) FindCollectionsWithUserFields() ([]*models.Collection, error) {
// relation schema fields referencing the provided collection.
//
// If the provided collection has reference to itself then it will be
// also included in the result. To exlude it, pass the collection id
// also included in the result. To exclude it, pass the collection id
// as the excludeId argument.
func (dao *Dao) FindCollectionReferences(collection *models.Collection, excludeId string) (map[*models.Collection][]*schema.SchemaField, error) {
collections := []*models.Collection{}
+1 -1
View File
@@ -35,7 +35,7 @@ func (dao *Dao) LoadProfile(user *models.User) error {
return nil
}
// LoadProfiles loads the profile records associated to the provied users list.
// LoadProfiles loads the profile records associated to the provided users list.
func (dao *Dao) LoadProfiles(users []*models.User) error {
collection, err := dao.FindCollectionByNameOrId(models.ProfileCollectionName)
if err != nil {