From a241ac1dd4eb1ed7df0e6f05761170518f0b2d74 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Mon, 5 Jun 2023 16:37:49 +0800 Subject: [PATCH] GetMsgBySeqIndexIn1Doc --- pkg/common/db/unrelation/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/unrelation/msg.go b/pkg/common/db/unrelation/msg.go index 8952429c4..629f13b81 100644 --- a/pkg/common/db/unrelation/msg.go +++ b/pkg/common/db/unrelation/msg.go @@ -264,7 +264,7 @@ func (m *MsgMongoDriver) GetMsgBySeqIndexIn1Doc(ctx context.Context, userID stri Detail: string(tipsData), } content, _ := json.Marshal(&elem) - msg.Msg.ContentType = constant.Revoke + msg.Msg.ContentType = constant.MsgRevokeNotification msg.Msg.Content = string(content) } msgs = append(msgs, msg)