Removed unused line
This commit is contained in:
parent
c390bf9f7c
commit
35306e4ec9
@ -15,8 +15,6 @@
|
||||
package account
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.supernets.org/perp/gopay/internal/context"
|
||||
"git.supernets.org/perp/gopay/internal/jwt"
|
||||
v1 "git.supernets.org/perp/gopay/internal/models/v1"
|
||||
@ -47,7 +45,6 @@ func Register(ctx *context.Context) {
|
||||
// Bind JSON
|
||||
err := ctx.BindJSON(&body)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
ctx.JSON(400, ctx.Error("MissingBody"))
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user