Merge pull request #895 from lohanidamodar/fix-response-filter-not-found
Avoid errors when response-format header is not available
This commit is contained in:
commit
4d355ff815
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ App::init(function ($utopia, $request, $response, $console, $project, $user, $lo
|
|||
Response::setFilter(new V06());
|
||||
break;
|
||||
default:
|
||||
throw new Exception('No filter available for response format : '.$responseFormat, 400);
|
||||
Response::setFilter(null);
|
||||
}
|
||||
} else {
|
||||
Response::setFilter(null);
|
||||
|
|
Loading…
Reference in a new issue