mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
payload debug
This commit is contained in:
+1
-1
@@ -1360,7 +1360,7 @@ App::setResource('project', function ($dbForPlatform, $request, $console) {
|
||||
|
||||
$project = Authorization::skip(fn () => $dbForPlatform->getDocument('projects', $projectId));
|
||||
|
||||
if ($project->getAttribute('region') !== System::getEnv('_APP_REGION', 'default')) {
|
||||
if (!empty($project->getAttribute('region')) && $project->getAttribute('region') !== System::getEnv('_APP_REGION', 'default')) {
|
||||
var_dump([
|
||||
'x-projectId' => $projectId,
|
||||
'projectId' => $project->getId(),
|
||||
|
||||
Reference in New Issue
Block a user