invoices
This commit is contained in:
parent
273a5519e8
commit
3a14b5d470
|
@ -28,6 +28,9 @@ const api = {
|
|||
|
||||
res.json(invoices);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
console.log(error?.errors?.body);
|
||||
|
||||
res.json([]); // todo: error handling
|
||||
}
|
||||
},
|
||||
|
|
Reference in New Issue