mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-04 02:57:26 +01:00
[#80] fixed before hooks data and added optional interceptor to upsert submit
This commit is contained in:
1 parent
ce857985be
commit
05a4071eba
20 files changed
+547
-161
No files matched your search
@@ -139,9 +139,6 @@ func TestSettingsSet(t *testing.T) {
|
||||
`"emailAuth":{"minPasswordLength":{"code":"validation_min_greater_equal_than_required","message":"Must be no less than 5."}}`,
|
||||
`"meta":{"appName":{"code":"validation_required","message":"Cannot be blank."}}`,
|
||||
},
|
||||
ExpectedEvents: map[string]int{
|
||||
"OnSettingsBeforeUpdateRequest": 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "authorized as admin submitting valid data",
|
||||
|
||||
Reference in new issue
Block a user