Update loggon
This commit is contained in:
parent
637b2c977d
commit
ac2111a365
@ -76,7 +76,7 @@ func (dma *AbstractAccessor) GenericUpdateOne(set DBObject, id string, accessor
|
||||
if err != nil {
|
||||
return nil, c, err
|
||||
}
|
||||
fmt.Println(set.Serialize())
|
||||
fmt.Println(set.Serialize(), r.Deserialize(set.Serialize()).Serialize())
|
||||
id, code, err := mongo.MONGOService.UpdateOne(r.Deserialize(set.Serialize()), id, accessor.GetType())
|
||||
if err != nil {
|
||||
dma.Logger.Error().Msg("Could not update " + id + " to db. Error: " + err.Error())
|
||||
|
Loading…
Reference in New Issue
Block a user