Skip to content

Commit 7f48541

Browse files
committed
(U) JAM: Fix face clustering on instances that use numeric user IDs
1 parent 8268d26 commit 7f48541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BackgroundJobs/ClusterFacesJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(ITimeFactory $time, Logger $logger, IJobList $jobLis
3737
*/
3838
protected function run($argument) {
3939
/** @var string $userId */
40-
$userId = $argument['userId'];
40+
$userId = (string) $argument['userId'];
4141
try {
4242
$this->clusterAnalyzer->calculateClusters($userId, self::BATCH_SIZE);
4343
} catch (\JsonException|Exception $e) {

0 commit comments

Comments
 (0)