Skip to content

Commit b0e3aed

Browse files
authored
Merge pull request #1229 from joeyame/main
(U) Fix to ClusterFacesJob.php in Instances with Numeric User IDs
2 parents 2542c9d + 7f48541 commit b0e3aed

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)