Compare commits

..

No commits in common. "49cc7997f381ad6ee2e29d7586c29faa0c240684" and "772287225f44eec4f4f301f013fd943938c3e85a" have entirely different histories.

View File

@ -1,7 +1,6 @@
package shared_workspace
import (
"fmt"
"slices"
"cloud.o-forge.io/core/oc-lib/dbs"
@ -169,7 +168,6 @@ 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)