mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-04 02:57:26 +01:00
added custom goja field mapper to handle all caps identifiers and allowed errors unwrapping
This commit is contained in:
1 parent
799e1d96f8
commit
0fa5edb0b1
9 files changed
+56
-16
No files matched your search
+1
-1
@@ -191,7 +191,7 @@ func (api *recordApi) create(c echo.Context) error {
|
||||
testErr := testForm.DrySubmit(func(txDao *daos.Dao) error {
|
||||
foundRecord, err := txDao.FindRecordById(collection.Id, testRecord.Id, createRuleFunc)
|
||||
if err != nil {
|
||||
return fmt.Errorf("DrySubmit create rule failure: %v", err)
|
||||
return fmt.Errorf("DrySubmit create rule failure: %w", err)
|
||||
}
|
||||
hasFullManageAccess = hasAuthManageAccess(txDao, foundRecord, requestData)
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user