mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix team res
This commit is contained in:
parent
e0a30fd25a
commit
b263ed7ce6
1 changed files with 1 additions and 1 deletions
|
|
@ -1759,7 +1759,7 @@ App::setResource('plan', function (array $plan = []) {
|
|||
App::setResource('team', function (Document $project, Database $dbForConsole, App $utopia, Request $request) {
|
||||
$teamInternalId = '';
|
||||
if ($project->getId() !== 'console') {
|
||||
$teamInternalId = $project->getAttribute('teamInternalId');
|
||||
$teamInternalId = $project->getAttribute('teamInternalId', '');
|
||||
} else {
|
||||
$route = $utopia->match($request);
|
||||
$path = $route->getPath();
|
||||
|
|
|
|||
Loading…
Reference in a new issue