File tree Expand file tree Collapse file tree
internal/app/server/handler/user
pkg/context/user/application Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func Forgot(c *gin.Context) {
3737 return
3838 }
3939
40- c .JSON (http .StatusCreated , & reply.JSON {
40+ c .JSON (http .StatusOK , & reply.JSON {
4141 Success : true ,
4242 Message : "Link sent. Please check your inbox" ,
4343 })
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func Reset(c *gin.Context) {
3434 return
3535 }
3636
37- c .JSON (http .StatusCreated , & reply.JSON {
37+ c .JSON (http .StatusOK , & reply.JSON {
3838 Success : true ,
3939 Message : "Password updated" ,
4040 })
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ var CommandKey = messages.NewKey(&messages.KeyComponents{
1313 Version : "1" ,
1414 Type : messages .Type .Command ,
1515 Entity : "user" ,
16- Command : "creating " ,
16+ Command : "create " ,
1717 Status : messages .Status .Queued ,
1818})
1919
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var CommandKey = messages.NewKey(&messages.KeyComponents{
1212 Version : "1" ,
1313 Type : messages .Type .Command ,
1414 Entity : "user" ,
15- Command : "deleting " ,
15+ Command : "delete " ,
1616 Status : messages .Status .Queued ,
1717})
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var QueryKey = messages.NewKey(&messages.KeyComponents{
1212 Version : "1" ,
1313 Type : messages .Type .Query ,
1414 Entity : "user" ,
15- Query : "logging " ,
15+ Query : "login " ,
1616 Status : messages .Status .Queued ,
1717})
1818
@@ -21,7 +21,7 @@ var ResponseKey = messages.NewKey(&messages.KeyComponents{
2121 Version : "1" ,
2222 Type : messages .Type .Response ,
2323 Entity : "user" ,
24- Response : "logging " ,
24+ Response : "login " ,
2525 Status : messages .Status .Done ,
2626})
2727
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var QueryKey = messages.NewKey(&messages.KeyComponents{
1212 Version : "1" ,
1313 Type : messages .Type .Query ,
1414 Entity : "user" ,
15- Query : "reading " ,
15+ Query : "read " ,
1616 Status : messages .Status .Queued ,
1717})
1818
@@ -21,7 +21,7 @@ var ResponseKey = messages.NewKey(&messages.KeyComponents{
2121 Version : "1" ,
2222 Type : messages .Type .Response ,
2323 Entity : "user" ,
24- Response : "reading " ,
24+ Response : "read " ,
2525 Status : messages .Status .Done ,
2626})
2727
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var CommandKey = messages.NewKey(&messages.KeyComponents{
1212 Version : "1" ,
1313 Type : messages .Type .Command ,
1414 Entity : "user" ,
15- Command : "updating " ,
15+ Command : "update " ,
1616 Status : messages .Status .Queued ,
1717})
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var CommandKey = messages.NewKey(&messages.KeyComponents{
1212 Version : "1" ,
1313 Type : messages .Type .Command ,
1414 Entity : "user" ,
15- Command : "verifying " ,
15+ Command : "verify " ,
1616 Status : messages .Status .Queued ,
1717})
1818
You can’t perform that action at this time.
0 commit comments