light modification
This commit is contained in:
parent
ad660b0ce8
commit
e9017767d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user