From 1874ac070f65d487b9652036f018858c260dc2d2 Mon Sep 17 00:00:00 2001 From: eikek Date: Mon, 14 Mar 2022 16:53:13 +0100 Subject: [PATCH] Fix executing collective user tasks now --- .../src/main/scala/docspell/backend/ops/OCollective.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/backend/src/main/scala/docspell/backend/ops/OCollective.scala b/modules/backend/src/main/scala/docspell/backend/ops/OCollective.scala index e59ddb9a..bd4451e3 100644 --- a/modules/backend/src/main/scala/docspell/backend/ops/OCollective.scala +++ b/modules/backend/src/main/scala/docspell/backend/ops/OCollective.scala @@ -205,7 +205,7 @@ object OCollective { args ) _ <- uts - .updateOneTask(UserTaskScope(collective), args.makeSubject.some, ut) + .executeNow(UserTaskScope(collective), args.makeSubject.some, ut) _ <- joex.notifyAllNodes } yield () @@ -221,7 +221,7 @@ object OCollective { args ) _ <- uts - .updateOneTask(UserTaskScope(args.collective), args.makeSubject.some, ut) + .executeNow(UserTaskScope(args.collective), args.makeSubject.some, ut) _ <- joex.notifyAllNodes } yield ()