billing task - typo fixed
MODIFY
src/scheduler/tasks/SynchronizeBillingInvoicesTask.ts
src/scheduler/tasks/SynchronizeBillingInvoicesTask.ts
import BillingFactory from '../../integration/billing/BillingFactory';
-import { BillingInvoiceSynchonizationTaskConfig } from '../../types/TaskConfig';
+import { BillingInvoiceSynchronizationTaskConfig } from '../../types/TaskConfig';
import LockingHelper from '../../locking/LockingHelper';
import LockingManager from '../../locking/LockingManager';
import Logging from '../../utils/Logging';
@@ -10,7 +10,7 @@ import Tenant from '../../types/Tenant';
import Utils from '../../utils/Utils';
export default class SynchronizeBillingInvoicesTask extends SchedulerTask {
- async processTenant(tenant: Tenant, taskConfig: BillingInvoiceSynchonizationTaskConfig): Promise<void> {
+ async processTenant(tenant: Tenant, taskConfig: BillingInvoiceSynchronizationTaskConfig): Promise<void> {
// Get the lock
const billingLock = await LockingHelper.createBillingSyncInvoicesLock(tenant.id);
if (billingLock) {

MODIFY
src/types/TaskConfig.ts
src/types/TaskConfig.ts
@@ -20,7 +20,7 @@ export interface CheckSessionNotStartedAfterAuthorizeTaskConfig extends TaskConf
checkPastAuthorizeMins?: number;
}
-export interface BillingInvoiceSynchonizationTaskConfig extends TaskConfig {
+export interface BillingInvoiceSynchronizationTaskConfig extends TaskConfig {
attemptPayment?: boolean;
}

billing task - typo fixed