Compare commits
2 Commits
772287225f
...
49cc7997f3
Author | SHA1 | Date | |
---|---|---|---|
|
49cc7997f3 | ||
|
2b23a65647 |
@ -1,6 +1,7 @@
|
||||
package shared_workspace
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"slices"
|
||||
|
||||
"cloud.o-forge.io/core/oc-lib/dbs"
|
||||
@ -168,6 +169,7 @@ func (wfa *sharedWorkspaceMongoAccessor) sendToPeer(shared *SharedWorkspace) {
|
||||
|
||||
func (wfa *sharedWorkspaceMongoAccessor) UpdateOne(set utils.DBObject, id string) (utils.DBObject, int, error) {
|
||||
res, code, err := wfa.GenericUpdateOne(set.(*SharedWorkspace), id, wfa, &SharedWorkspace{})
|
||||
fmt.Println("UPDATE SHARED", res.Serialize())
|
||||
wfa.deleteToPeer(res.(*SharedWorkspace))
|
||||
wfa.sharedWorkflow(res.(*SharedWorkspace), id)
|
||||
wfa.sharedWorkspace(res.(*SharedWorkspace), id)
|
||||
|
Loading…
Reference in New Issue
Block a user