mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
bind all other methods to class
This commit is contained in:
@@ -20,6 +20,13 @@ export class NotificationService {
|
|||||||
|
|
||||||
constructor(private repository: GetterRepository) {
|
constructor(private repository: GetterRepository) {
|
||||||
this.etaSubscriberCallback = this.etaSubscriberCallback.bind(this);
|
this.etaSubscriberCallback = this.etaSubscriberCallback.bind(this);
|
||||||
|
this.reloadAPNsTokenIfTimePassed = this.reloadAPNsTokenIfTimePassed.bind(this);
|
||||||
|
this.lastReloadedTimeForAPNsIsTooRecent = this.lastReloadedTimeForAPNsIsTooRecent.bind(this);
|
||||||
|
this.sendEtaNotificationImmediately = this.sendEtaNotificationImmediately.bind(this);
|
||||||
|
this.getAPNsFullUrlToUse = this.getAPNsFullUrlToUse.bind(this);
|
||||||
|
this.etaSubscriberCallback = this.etaSubscriberCallback.bind(this);
|
||||||
|
this.sendEtaNotificationImmediatelyIfSecondsRemainingBelowThreshold = this.sendEtaNotificationImmediatelyIfSecondsRemainingBelowThreshold.bind(this);
|
||||||
|
this.scheduleNotification = this.scheduleNotification.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user