updated changelog and formatting

This commit is contained in:
Gani Georgiev committed 2023-03-28 07:59:37 +03:00
1 parent 4c903684d8
commit 3ea02c945d
40 files changed
+62 -64

No files matched your search

+2 -2
View File
@@ -391,7 +391,7 @@ func (form *CollectionUpsert) checkIndexes(value any) error {
if form.Type == models.CollectionTypeView && len(v) > 0 {
return validation.NewError(
"validation_indexes_not_supported",
fmt.Sprintf("The collection doesn't support indexes."),
"The collection doesn't support indexes.",
)
}
@@ -402,7 +402,7 @@ func (form *CollectionUpsert) checkIndexes(value any) error {
return validation.Errors{
strconv.Itoa(i): validation.NewError(
"validation_invalid_index_expression",
fmt.Sprintf("Invalid CREATE INDEX expression."),
"Invalid CREATE INDEX expression.",
),
}
}