fix: handle interface{} type in settings update request
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package schemas
|
||||
|
||||
type UpdateSettingsRequest struct {
|
||||
Settings map[string]string `json:"settings" binding:"required"`
|
||||
Settings map[string]interface{} `json:"settings" binding:"required"`
|
||||
}
|
||||
|
||||
type AuthorizeSupplierRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user