fix(api): don't require content type for apps delete endpoint (#4093)
This commit is contained in:
parent
274b998ec5
commit
a19312bbf1
1 changed files with 2 additions and 3 deletions
|
|
@ -692,9 +692,8 @@ namespace confighttp {
|
|||
* @api_examples{/api/apps/9999| DELETE| null}
|
||||
*/
|
||||
void deleteApp(resp_https_t response, req_https_t request) {
|
||||
if (!check_content_type(response, request, "application/json")) {
|
||||
return;
|
||||
}
|
||||
// Skip check_content_type() for this endpoint since the request body is not used.
|
||||
|
||||
if (!authenticate(response, request)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue