Skip to content

Commit

Permalink
feat: update RegisterUser use adminToken. (#574)
Browse files Browse the repository at this point in the history
* update dockerfile contents.

* update field.

* feat: update RegisterUser use adminToken.
  • Loading branch information
mo3et committed Sep 24, 2024
1 parent 4adbbc5 commit 189c094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/chat/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (o *Api) RegisterUser(c *gin.Context) {
FaceURL: req.User.FaceURL,
CreateTime: time.Now().UnixMilli(),
}
err = o.imApiCaller.RegisterUser(c, []*sdkws.UserInfo{userInfo})
err = o.imApiCaller.RegisterUser(apiCtx, []*sdkws.UserInfo{userInfo})
if err != nil {
apiresp.GinError(c, err)
return
Expand Down

0 comments on commit 189c094

Please sign in to comment.