Skip to content

Commit 1781c4c

Browse files
committed
feat(taskprocessing): fix mistake
Signed-off-by: Julien Veyssier <[email protected]>
1 parent 47ffee2 commit 1781c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/TaskProcessing/Db/Task.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public static function fromPublicTask(OCPTask $task): self {
126126
'scheduledAt' => $task->getScheduledAt(),
127127
'startedAt' => $task->getStartedAt(),
128128
'endedAt' => $task->getEndedAt(),
129-
'allowCleanup' => $task->getAllowCleanup(),
129+
'allowCleanup' => $task->getAllowCleanup() ? 1 : 0,
130130
]);
131131
return $taskEntity;
132132
}

0 commit comments

Comments
 (0)