fixed multipart form issue

This commit is contained in:
Fran Jurmanović
2021-06-05 00:10:23 +02:00
parent 1406c74e67
commit 636a367d3e
12 changed files with 66 additions and 35 deletions

View File

@@ -9,6 +9,6 @@ type Wallet struct {
}
type NewWalletBody struct {
Name string `json:"name"`
UserID string `json:"userId"`
Name string `json:"name" form:"name"`
UserID string `json:"userId" form:"userId"`
}