Date: Fri, 5 Dec 2025 16:51:01 -0500
Subject: [PATCH 3/7] linting
---
backend/src/external/quickbooks/client.ts | 2 +-
backend/src/modules/quickbooks/service.ts | 10 +++++-----
frontend/components/dashboard/NoDataPopup.tsx | 16 ++++++++--------
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/backend/src/external/quickbooks/client.ts b/backend/src/external/quickbooks/client.ts
index 0f3f66eb..ec380d1a 100644
--- a/backend/src/external/quickbooks/client.ts
+++ b/backend/src/external/quickbooks/client.ts
@@ -9,7 +9,7 @@ import {
} from "./types";
const PROD_BASE_URL = "https://quickbooks.api.intuit.com";
-const SANDBOX_BASE_URL = "https://sandbox-quickbooks.api.intuit.com";
+const SANDBOX_BASE_URL = "https://sandbox-quickbooks.api.intuit.com";
const PROD_PRISERE_API_URL = process.env.PROD_PRISERE_API_URL;
const DEV_PRISERE_API_URL = process.env.DEV_PRISERE_API_URL;
diff --git a/backend/src/modules/quickbooks/service.ts b/backend/src/modules/quickbooks/service.ts
index 7263b2bb..ab56cc72 100644
--- a/backend/src/modules/quickbooks/service.ts
+++ b/backend/src/modules/quickbooks/service.ts
@@ -218,7 +218,7 @@ export class QuickbooksService implements IQuickbooksService {
}
const invoices = response.QueryResponse.Invoice;
-
+
const createdInvoices = await this.invoiceTransaction.createOrUpdateInvoices(
invoices.map((i) => ({
companyId: user.companyId,
@@ -258,7 +258,7 @@ export class QuickbooksService implements IQuickbooksService {
}),
});
if (!response || !response.QueryResponse || !response.QueryResponse.Purchase) {
- console.log("no purchases to import")
+ console.log("no purchases to import");
logMessageToFile("No new purchases to import");
return;
}
@@ -413,9 +413,9 @@ function getPurchaseLineItems(purchase: QBPurchase) {
}
function getLastAccountName(accountPath: string | undefined): string | undefined {
- if(!accountPath) {
+ if (!accountPath) {
return accountPath;
}
- const parts = accountPath.split(':');
+ const parts = accountPath.split(":");
return parts[parts.length - 1];
- }
+}
diff --git a/frontend/components/dashboard/NoDataPopup.tsx b/frontend/components/dashboard/NoDataPopup.tsx
index 11a62c89..730b63f3 100644
--- a/frontend/components/dashboard/NoDataPopup.tsx
+++ b/frontend/components/dashboard/NoDataPopup.tsx
@@ -39,15 +39,15 @@ export default function NoDataPopup({ isOpen, onClose }: Props) {
-
+
- {/*
+ {/*