mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-18 01:35:36 +01:00
make raw json scanning determinisctic and added setting option to limit log data size
This commit is contained in:
1 parent
f5695a7308
commit
25081f14eb
6 files changed
+200
-9
No files matched your search
@@ -73,7 +73,7 @@ func (j *JSONRaw) Scan(value any) error {
|
||||
data = []byte(v)
|
||||
}
|
||||
default:
|
||||
bytes, err := json.Marshal(v)
|
||||
bytes, err := json.Marshal(v, json.Deterministic(true))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user