1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

Wrong error format

This commit is contained in:
Eldad Fux 2020-12-22 22:33:20 +02:00
parent d8048a9292
commit d246afefd6

View file

@ -400,7 +400,7 @@ App::error(function ($error, $utopia, $request, $response, $layout, $project) {
}
$response->dynamic(new Document($output),
$utopia->isDevelopment() ? Response::MODEL_ERROR_DEV : Response::MODEL_LOCALE);
$utopia->isDevelopment() ? Response::MODEL_ERROR_DEV : Response::MODEL_ERROR);
}, ['error', 'utopia', 'request', 'response', 'layout', 'project']);
App::get('/manifest.json')