mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
payload debug
This commit is contained in:
parent
270dfd685d
commit
39585d0438
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue