custom elig. api error msg ; first check elig. then create user

This commit is contained in:
GotPPay
2018-05-18 10:46:47 +02:00
parent fb8b8f63af
commit e419b08d97

View File

@@ -340,6 +340,7 @@ func (c *controller) handleGetPortal(ctx echo.Context) error {
}
func (c *controller) handleMember(ctx echo.Context) error {
fmt.Println("\n\nHandle member\n\n")
var user viewmodel.User
if err := ctx.Bind(&user); err != nil {
return routeutils.HandleAPIError(ctx, err)