mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
fixed multipart form issue
This commit is contained in:
@@ -5,10 +5,14 @@ type Token struct {
|
||||
}
|
||||
|
||||
type Login struct {
|
||||
Email string
|
||||
Password string
|
||||
Email string `form:"email"`
|
||||
Password string `form:"password"`
|
||||
}
|
||||
|
||||
type Auth struct {
|
||||
Id string
|
||||
}
|
||||
|
||||
type CheckToken struct {
|
||||
Valid bool `json:"valid"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user