This commit is contained in:
Karol Wypchlo 2021-02-22 18:53:29 +01:00
parent 273a5519e8
commit 3a14b5d470
1 changed files with 3 additions and 0 deletions

View File

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