diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 92c975479b4af..846c75626384f 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -55,7 +55,7 @@ public function add(IJob|string $job, mixed $argument = null, ?int $firstCheck = if (!$this->has($job, $argument)) { $query->insert('jobs') ->values([ - 'id' => $query->createNamedParameter($this->generator->nextId(), IQueryBuilder::PARAM_INT), + 'id' => $query->createNamedParameter($this->generator->nextId()), 'class' => $query->createNamedParameter($class), 'argument' => $query->createNamedParameter($argumentJson), 'argument_hash' => $query->createNamedParameter(hash('sha256', $argumentJson)),