mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-29 16:30:25 +01:00
replaced the default binder with rest.MultiBinder
This commit is contained in:
1 parent
d9b219d64f
commit
9855397a22
6 files changed
+126
-46
No files matched your search
@@ -28,6 +28,7 @@ const trailedAdminPath = "/_/"
|
||||
func InitApi(app core.App) (*echo.Echo, error) {
|
||||
e := echo.New()
|
||||
e.Debug = false
|
||||
e.Binder = &rest.MultiBinder{}
|
||||
e.JSONSerializer = &rest.Serializer{
|
||||
FieldsParam: fieldsQueryParam,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user