Skip to content

Commit

Permalink
fix: im api UserToken error non-responsive body (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
withchao authored Aug 7, 2023
1 parent a4535d1 commit a3e6a9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func (o *ChatApi) Login(c *gin.Context) {
}
imToken, err := o.imApiCaller.UserToken(c, resp1.UserID, req.Platform)
if err != nil {
apiresp.GinError(c, err)
return
}
resp.ImToken = imToken
Expand Down

0 comments on commit a3e6a9a

Please sign in to comment.