updated token storage
This commit is contained in:
@@ -13,6 +13,7 @@ type LoginBody struct {
|
||||
}
|
||||
|
||||
func login(c *gin.Context) {
|
||||
|
||||
var loginBody LoginBody
|
||||
if err := c.BindJSON(&loginBody); err != nil {
|
||||
fmt.Println(err)
|
||||
|
||||
Reference in New Issue
Block a user