mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Update src/Appwrite/Platform/Workers/Migrations.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
26e07b8c26
commit
d4e5a1bdf2
1 changed files with 5 additions and 0 deletions
|
|
@ -536,6 +536,11 @@ class Migrations extends Action
|
||||||
Query::equal('$sequence', [$userInternalId])
|
Query::equal('$sequence', [$userInternalId])
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
if (!$user || $user->isEmpty()) {
|
||||||
|
Console::warning("User not found for CSV export notification: $userInternalId");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Set up locale
|
// Set up locale
|
||||||
$locale = new Locale(System::getEnv('_APP_LOCALE', 'en'));
|
$locale = new Locale(System::getEnv('_APP_LOCALE', 'en'));
|
||||||
$locale->setFallback(System::getEnv('_APP_LOCALE', 'en'));
|
$locale->setFallback(System::getEnv('_APP_LOCALE', 'en'));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue