mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Updates
This commit is contained in:
parent
934e531840
commit
5bf165d2c3
@ -34,7 +34,7 @@ func (c *ConversationGorm) UpdateByMap(ctx context.Context, userIDList []string,
|
||||
}
|
||||
|
||||
func (c *ConversationGorm) Update(ctx context.Context, conversation *relation.ConversationModel) (err error) {
|
||||
return utils.Wrap(c.db(ctx).Updates(conversation).Error, "")
|
||||
return utils.Wrap(c.db(ctx).Updates(&conversation).Error, "")
|
||||
}
|
||||
|
||||
func (c *ConversationGorm) Find(ctx context.Context, ownerUserID string, conversationIDs []string) (conversations []*relation.ConversationModel, err error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user