mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-27 23:40:26 +01:00
fixed auth collection rule check validator on create
This commit is contained in:
1 parent
f3566149b8
commit
4528f075dc
2 files changed
+7
-5
No files matched your search
@@ -280,6 +280,7 @@ func (form *CollectionUpsert) checkRule(value any) error {
|
||||
}
|
||||
|
||||
dummy := *form.collection
|
||||
dummy.Type = form.Type
|
||||
dummy.Schema = form.Schema
|
||||
dummy.System = form.System
|
||||
dummy.Options = form.Options
|
||||
|
||||
Reference in new issue
Block a user