Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenmemon committed Feb 10, 2025
1 parent 6fd0bed commit a13ee9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/actions/connections/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function syncConnection(policy: Policy | undefined, connectionName: PolicyConnec
parameters.forceDataRefresh = forceDataRefresh;
}
if (connectionName === CONST.POLICY.CONNECTIONS.NAME.NSQS) {
(parameters as SyncPolicyToNSQSParams).netSuiteAccountID = getNSQSCompanyID(policy) as string;
(parameters as SyncPolicyToNSQSParams).netSuiteAccountID = getNSQSCompanyID(policy) ?? '';
}

API.read(syncConnectionData.readCommand, parameters, {
Expand Down
1 change: 0 additions & 1 deletion src/pages/workspace/accounting/PolicyAccountingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import {
getCurrentSageIntacctEntityName,
getCurrentXeroOrganizationName,
getIntegrationLastSuccessfulDate,
getNSQSCompanyID,
getXeroTenants,
hasUnsupportedIntegration,
isControlPolicy,
Expand Down

0 comments on commit a13ee9a

Please sign in to comment.