mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
del conversation bug fix
This commit is contained in:
parent
319631b5c4
commit
87c64bdb2b
@ -79,7 +79,7 @@ func DelSuperGroupMsg(c *gin.Context) {
|
|||||||
resp api.DelSuperGroupMsgResp
|
resp api.DelSuperGroupMsgResp
|
||||||
)
|
)
|
||||||
rpcReq := &rpc.DelSuperGroupMsgReq{}
|
rpcReq := &rpc.DelSuperGroupMsgReq{}
|
||||||
utils.CopyStructFields(req, &req)
|
utils.CopyStructFields(rpcReq, &req)
|
||||||
if err := c.BindJSON(&req); err != nil {
|
if err := c.BindJSON(&req); err != nil {
|
||||||
c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
|
c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user