Skip to content

Commit

Permalink
fix: fix the user create error
Browse files Browse the repository at this point in the history
  • Loading branch information
luhaoling committed Jan 19, 2024
1 parent f5be03c commit 3208705
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/api/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ func (o *AdminApi) AddAdminAccount(c *gin.Context) {
}

func (o *AdminApi) AddUserAccount(c *gin.Context) {
a2r.Call(chat.ChatClient.AddUserAccount, o.chatClient, c)

var req chat.AddUserAccountReq
if err := c.BindJSON(&req); err != nil {
apiresp.GinError(c, err)
Expand Down

0 comments on commit 3208705

Please sign in to comment.