mirror of
https://github.com/appwrite/appwrite
synced 2026-05-20 23:48:23 +00:00
chore: add todo comment
This commit is contained in:
parent
3af34f078c
commit
83b5aecbfd
1 changed files with 1 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ function router(App $utopia, Database $dbForConsole, callable $getProjectDB, Swo
|
|||
throw new AppwriteException(AppwriteException::FUNCTION_RUNTIME_UNSUPPORTED, 'Runtime "' . $function->getAttribute('runtime', '') . '" is not supported');
|
||||
}
|
||||
}
|
||||
//todo: find a better approach
|
||||
$deploymentId = $isSite ? $function->getAttribute('deploymentId', '') : $function->getAttribute('deployment', '');
|
||||
$deployment = Authorization::skip(fn () => $dbForProject->getDocument('deployments', $deploymentId));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue