Skip to content

Commit 3fb0dbc

Browse files
committed
Fix typo in updateLastNotificationDate method name
Renamed updateLastNoticationDate to updateLastNotificationDate for consistency and correctness across all usages in SenderWorker.
1 parent 9aa5af2 commit 3fb0dbc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

workers/sender/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export default abstract class SenderWorker extends Worker {
354354
}
355355
}));
356356

357-
await this.updateLastNoticationDate(workspace, eventType);
357+
await this.updateLastNotificationDate(workspace, eventType);
358358
}
359359

360360
/**
@@ -419,7 +419,7 @@ export default abstract class SenderWorker extends Worker {
419419
}
420420
}));
421421

422-
await this.updateLastNoticationDate(workspace, eventType);
422+
await this.updateLastNotificationDate(workspace, eventType);
423423
}
424424

425425
/**
@@ -482,7 +482,7 @@ export default abstract class SenderWorker extends Worker {
482482
}
483483
}));
484484

485-
await this.updateLastNoticationDate(workspace, eventType);
485+
await this.updateLastNotificationDate(workspace, eventType);
486486
}
487487

488488
/**
@@ -772,7 +772,7 @@ export default abstract class SenderWorker extends Worker {
772772
* @param {string} type - event type
773773
* @param {number} date - date to be set
774774
*/
775-
private async updateLastNoticationDate(workspace: WorkspaceDBScheme, type: string, date = new Date()): Promise<void> {
775+
private async updateLastNotificationDate(workspace: WorkspaceDBScheme, type: string, date = new Date()): Promise<void> {
776776
/**
777777
* Throw an error if workspace is missing
778778
*/

0 commit comments

Comments
 (0)