fix: correct grammar

This commit is contained in:
enwawerueli 2022-08-12 16:46:18 +03:00 committed by Jason Lee
parent a35883590b
commit 573b9fa536
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ func (db *DB) SetupJoinTable(model interface{}, field string, joinTable interfac
relation, ok := modelSchema.Relationships.Relations[field]
isRelation := ok && relation.JoinTable != nil
if !isRelation {
return fmt.Errorf("failed to found relation: %s", field)
return fmt.Errorf("failed to find relation: %s", field)
}
for _, ref := range relation.References {