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'],
|
||||
json_encode(['success' => true, 'data' => $result], JSON_UNESCAPED_UNICODE)
|
||||
);
|
||||
} catch (\PDOException $e) {
|
||||
} catch (PDOException $e) {
|
||||
return new Response(
|
||||
500,
|
||||
['Content-Type' => 'application/json'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue