mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix: deployment/deploymentId
This commit is contained in:
parent
8950f71b0a
commit
aba3a31663
1 changed files with 2 additions and 2 deletions
|
|
@ -167,8 +167,8 @@ function router(App $utopia, Database $dbForConsole, callable $getProjectDB, Swo
|
|||
}
|
||||
|
||||
$deploymentId = match($type) {
|
||||
'function' => $resource->getAttribute('deploymentId', ''),
|
||||
'site' => $resource->getAttribute('deployment', '')
|
||||
'function' => $resource->getAttribute('deployment', ''),
|
||||
'site' => $resource->getAttribute('deploymentId', '')
|
||||
};
|
||||
|
||||
$deployment = Authorization::skip(fn () => $dbForProject->getDocument('deployments', $deploymentId));
|
||||
|
|
|
|||
Loading…
Reference in a new issue