Update loggon

This commit is contained in:
mr 2024-07-24 14:23:47 +02:00
parent 637b2c977d
commit ac2111a365

View File

@ -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())