Skip to content

Commit

Permalink
action response
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed Jul 25, 2018
1 parent e27e048 commit a7a641b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/handler_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func createUserHandler(ctx *web.Context) {
return
}

resp.WriteEntity(ActionResponse{
resp.WriteEntity(response.ActionResponse{
Error: false,
Message: "User Created Success",
})
Expand Down Expand Up @@ -94,7 +94,7 @@ func deleteUserHandler(ctx *web.Context) {
}
}

resp.WriteEntity(ActionResponse{
resp.WriteEntity(response.ActionResponse{
Error: false,
Message: "User Deleted Success",
})
Expand Down

0 comments on commit a7a641b

Please sign in to comment.