Skip to content

Commit

Permalink
fix: api send msg update. (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer authored Oct 9, 2023
1 parent 2bba4d0 commit cd5a506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (m MessageApi) newUserSendMsgReq(c *gin.Context, params *apistruct.SendMsg)
options := make(map[string]bool, 5)
switch params.ContentType {
case constant.Text:
newContent = params.Content["text"].(string)
fallthrough
case constant.Picture:
fallthrough
case constant.Custom:
Expand Down

0 comments on commit cd5a506

Please sign in to comment.