test booking
This commit is contained in:
parent
021b461b0a
commit
89a1ab3f6e
@ -54,7 +54,9 @@ func (wfa *workspaceMongoAccessor) UpdateOne(set utils.DBObject, id string) (uti
|
||||
}
|
||||
}
|
||||
res, code, err := wfa.GenericUpdateOne(set, id, wfa, &Workspace{})
|
||||
wfa.share(res.(*Workspace), false, wfa.Caller)
|
||||
if code == 200 && res != nil {
|
||||
wfa.share(res.(*Workspace), false, wfa.Caller)
|
||||
}
|
||||
return res, code, err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user