light modification
This commit is contained in:
@@ -73,7 +73,7 @@ func (a *collaborativeAreaMongoAccessor) StoreOne(data utils.DBObject) (utils.DB
|
||||
}}, "", true)
|
||||
fmt.Println(dd, code, err)
|
||||
if code != 200 || dd == nil {
|
||||
return nil, code, errors.New("Could not retrieve the peer")
|
||||
return nil, code, errors.New("could not retrieve the peer")
|
||||
}
|
||||
data.(*CollaborativeArea).CollaborativeAreaRule.Creator = dd[0].GetID()
|
||||
d, code, err := utils.GenericStoreOne(data.(*CollaborativeArea).Trim(), a)
|
||||
|
Reference in New Issue
Block a user