mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Handle delete routes
This commit is contained in:
parent
2eb74d2898
commit
8db6148297
1 changed files with 0 additions and 5 deletions
|
|
@ -336,11 +336,6 @@ class Builder
|
|||
$methodName = $namespace . \ucfirst($route->getLabel('sdk.method', ''));
|
||||
$responseModelNames = $route->getLabel('sdk.response.model', "none");
|
||||
|
||||
// TODO: Handle "none" responses
|
||||
if ($responseModelNames === "none") {
|
||||
continue;
|
||||
}
|
||||
|
||||
$responseModels = \is_array($responseModelNames)
|
||||
? \array_map(static fn($m) => $response->getModel($m), $responseModelNames)
|
||||
: [$response->getModel($responseModelNames)];
|
||||
|
|
|
|||
Loading…
Reference in a new issue