light modification
This commit is contained in:
parent
1952d905d2
commit
49e495f062
@ -75,6 +75,9 @@ func (a *collaborativeAreaMongoAccessor) StoreOne(data utils.DBObject) (utils.DB
|
||||
if code != 200 || dd == nil {
|
||||
return nil, code, errors.New("could not retrieve the peer")
|
||||
}
|
||||
if data.(*CollaborativeArea).CollaborativeAreaRule != nil {
|
||||
data.(*CollaborativeArea).CollaborativeAreaRule = &CollaborativeAreaRule{}
|
||||
}
|
||||
data.(*CollaborativeArea).CollaborativeAreaRule.Creator = dd[0].GetID()
|
||||
d, code, err := utils.GenericStoreOne(data.(*CollaborativeArea).Trim(), a)
|
||||
if code == 200 {
|
||||
|
Loading…
Reference in New Issue
Block a user