feat-IRONFANS-212-Robin #829

Merged
chenhao merged 3 commits from feat-IRONFANS-212-Robin into test 2024-11-22 16:53:50 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 86dfc695d7 - Show all commits

View File

@ -1658,7 +1658,7 @@ func (m *Mongo) UpdateMoment(ctx *gin.Context, moment *dbstruct.Moment) error {
up := qmgo.M{
"$set": set,
}
err := col.UpdateId(ctx, moment.Id, up)
err := col.UpdateId(ctx, moment.GetId(), up)
return err
}