Skip to content

Commit 18ccc9b

Browse files
authored
Merge pull request #252 from eneiluj/fix/var-in-webhookservice
Fix mistake in WebhookService::getFileUser()
2 parents 78385aa + 39d9967 commit 18ccc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/WebhookService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ private function setDataToUser(FileUserEntity $fileUser, array $user, $fileId) {
303303

304304
private function getFileUser(string $email, int $fileId): FileUserEntity {
305305
try {
306-
$fileUser = $this->fileUserMapper->getByEmailAndFileId($user['email'], $fileId);
306+
$fileUser = $this->fileUserMapper->getByEmailAndFileId($email, $fileId);
307307
} catch (\Throwable $th) {
308308
$fileUser = new FileUserEntity();
309309
}

0 commit comments

Comments
 (0)