feat-IRONFANS-212-Robin #829
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue