Skip to content

Commit

Permalink
(U) JAM: Fix face clustering on instances that use numeric user IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyame committed Jan 9, 2025
1 parent 8268d26 commit 7f48541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BackgroundJobs/ClusterFacesJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(ITimeFactory $time, Logger $logger, IJobList $jobLis
*/
protected function run($argument) {
/** @var string $userId */
$userId = $argument['userId'];
$userId = (string) $argument['userId'];
try {
$this->clusterAnalyzer->calculateClusters($userId, self::BATCH_SIZE);
} catch (\JsonException|Exception $e) {
Expand Down

0 comments on commit 7f48541

Please sign in to comment.