fix param
This commit is contained in:
parent
6c38bcc270
commit
237658f4e8
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ App::delete('/v1/projects/:projectId')
|
||||||
->inject('user')
|
->inject('user')
|
||||||
->inject('dbForConsole')
|
->inject('dbForConsole')
|
||||||
->inject('deletes')
|
->inject('deletes')
|
||||||
->action(function (string $projectId, string $password, Response $response, Document $user, Database $dbForConsole, Delete $deletes) {
|
->action(function (string $projectId, Response $response, Document $user, Database $dbForConsole, Delete $deletes) {
|
||||||
$project = $dbForConsole->getDocument('projects', $projectId);
|
$project = $dbForConsole->getDocument('projects', $projectId);
|
||||||
|
|
||||||
if ($project->isEmpty()) {
|
if ($project->isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue