fix: wrong column 2

This commit is contained in:
a3d21 2023-10-31 17:47:43 +08:00
parent 97b5efe398
commit 5b35f7996b

View File

@ -145,7 +145,7 @@ func (c *ConversationGorm) FindRecvMsgNotNotifyUserIDs(
return userIDs, utils.Wrap( return userIDs, utils.Wrap(
c.db(ctx). c.db(ctx).
Where("group_id = ? and recv_msg_opt = ?", groupID, constant.ReceiveNotNotifyMessage). Where("group_id = ? and recv_msg_opt = ?", groupID, constant.ReceiveNotNotifyMessage).
Pluck("user_id", &userIDs). Pluck("owner_user_id", &userIDs).
Error, Error,
"", "",
) )