This commit is contained in:
Karol Wypchlo 2021-02-22 18:55:35 +01:00
parent 22f97032f1
commit 4d3615e493
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const api = {
res.json(invoices); res.json(invoices);
} catch (error) { } catch (error) {
console.log(error); console.log(error);
console.log(error?.errors?.body); console.log(error?.errors);
res.json([]); // todo: error handling res.json([]); // todo: error handling
} }