Skip to content

Commit

Permalink
Merge pull request #1229 from joeyame/main
Browse files Browse the repository at this point in the history
(U) Fix to ClusterFacesJob.php in Instances with Numeric User IDs
  • Loading branch information
marcelklehr authored Jan 9, 2025
2 parents 2542c9d + 7f48541 commit b0e3aed
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 b0e3aed

Please sign in to comment.