test booking

This commit is contained in:
mr 2024-09-25 09:36:10 +02:00
parent 021b461b0a
commit 89a1ab3f6e

View File

@ -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
}