mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #12780 from appwrite/fix/remove-throwable-use-statement
Fix: remove no-effect `use Throwable;` in shared api controller
This commit is contained in:
1 file changed
+1
-2
@@ -24,7 +24,6 @@ use Appwrite\Usage\Context;
|
||||
use Appwrite\Utopia\Database\Documents\User;
|
||||
use Appwrite\Utopia\Request;
|
||||
use Appwrite\Utopia\Response;
|
||||
use Throwable;
|
||||
use Utopia\Abuse\Abuse;
|
||||
use Utopia\Bus\Bus;
|
||||
use Utopia\Cache\Adapter\Filesystem;
|
||||
@@ -1177,7 +1176,7 @@ Http::shutdown()
|
||||
$authorization->skip(fn () => $dbForPlatform->updateDocument('projects', $project->getId(), new Document([
|
||||
'onboarding' => $byMethod,
|
||||
])));
|
||||
} catch (Throwable) {
|
||||
} catch (\Throwable) {
|
||||
// Missing `onboarding` attribute on upgraded installs must not break the request lifecycle.
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user