partial configs for docker

This commit is contained in:
Emily
2024-06-27 14:47:38 +02:00
parent 713f956429
commit f675e1f289
5 changed files with 61 additions and 19 deletions

View File

@@ -25,6 +25,7 @@ export default defineEventHandler(async event => {
return await Redis.useCache({ key: `invoices:${project_id}`, exp: 10 }, async () => {
const invoices = await StripeService.getInvoices(project.customer_id);
if (!invoices) return [];
return invoices?.data.map(e => {
const result: InvoiceData = {
@@ -37,6 +38,7 @@ export default defineEventHandler(async event => {
return result;
});
});
});