mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Make all delete routes return none
This commit is contained in:
1 parent
efd8dc16b3
commit
ec44b1f272
18 files changed
+162
-284
No files matched your search
@@ -4,6 +4,7 @@ use Appwrite\Extend\Exception;
|
||||
use Appwrite\SDK\AuthType;
|
||||
use Appwrite\SDK\Method;
|
||||
use Appwrite\SDK\Response as SDKResponse;
|
||||
use Appwrite\SDK\ResponseType;
|
||||
use Appwrite\Utopia\Response;
|
||||
use Utopia\App;
|
||||
use Utopia\Database\Database;
|
||||
@@ -501,7 +502,8 @@ App::delete('/v1/project/variables/:variableId')
|
||||
code: Response::STATUS_CODE_NOCONTENT,
|
||||
model: Response::MODEL_NONE,
|
||||
)
|
||||
]
|
||||
],
|
||||
responseType: ResponseType::NONE
|
||||
))
|
||||
->param('variableId', '', new UID(), 'Variable unique ID.', false)
|
||||
->inject('project')
|
||||
|
||||
Reference in new issue
Block a user