fix(api): don't require content type for apps delete endpoint (#4093)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user