FIX: removing \ of PDOException in line 61.
This commit is contained in:
parent
90fbf343b0
commit
6d901f9bac
|
|
@ -58,7 +58,7 @@ class ReportController
|
||||||
['Content-Type' => 'application/json'],
|
['Content-Type' => 'application/json'],
|
||||||
json_encode(['success' => true, 'data' => $result], JSON_UNESCAPED_UNICODE)
|
json_encode(['success' => true, 'data' => $result], JSON_UNESCAPED_UNICODE)
|
||||||
);
|
);
|
||||||
} catch (\PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
return new Response(
|
return new Response(
|
||||||
500,
|
500,
|
||||||
['Content-Type' => 'application/json'],
|
['Content-Type' => 'application/json'],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue