mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-08 07:17:27 +02:00
updated dependencies and golangci-lint to v2
This commit is contained in:
1 parent
d9af1475ef
commit
4cc797071b
18 files changed
+93
-109
No files matched your search
@@ -76,7 +76,7 @@ func (r *SimpleFieldResolver) UpdateQuery(query *dbx.SelectQuery) error {
|
||||
// Returns error if `field` is not in `r.allowedFields`.
|
||||
func (r *SimpleFieldResolver) Resolve(field string) (*ResolverResult, error) {
|
||||
if !list.ExistInSliceWithRegex(field, r.allowedFields) {
|
||||
return nil, fmt.Errorf("Failed to resolve field %q.", field)
|
||||
return nil, fmt.Errorf("failed to resolve field %q", field)
|
||||
}
|
||||
|
||||
parts := strings.Split(field, ".")
|
||||
|
||||
Reference in new issue
Block a user