another test flat in base
This commit is contained in:
parent
b1293af229
commit
f7dfbe91dd
@ -168,7 +168,7 @@ func (m *MongoDB) StoreOne(obj interface{}, collection_name string) (string, int
|
||||
m.Logger.Error().Msg("Couldn't insert resource: " + err.Error())
|
||||
return "", 422, err
|
||||
}
|
||||
bson.Unmarshal(b, &doc)
|
||||
bson.UnmarshalExtJSON(b, false, &doc)
|
||||
targetDBCollection := CollectionMap[collection_name]
|
||||
|
||||
MngoCtx, cancel = context.WithTimeout(context.Background(), 10*time.Second)
|
||||
|
Loading…
Reference in New Issue
Block a user