updated error messages

This commit is contained in:
Gani Georgiev committed 2024-11-25 11:28:20 +02:00
1 parent 5a5211d7f2
commit fab334fca6
14 files changed
+36 -31

No files matched your search

+1 -1
View File
@@ -464,7 +464,7 @@ func validateCollectionId(app App, optTypes ...string) validation.RuleFunc {
return validation.NewError(
"validation_invalid_collection_type",
fmt.Sprintf("Invalid collection type - must be %s.", strings.Join(optTypes, ", ")),
).SetParams(map[string]any{"types": optTypes})
)
}
return nil