mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
change reloadAPNsTokenIfTimePassed method to public for testing
This commit is contained in:
@@ -21,7 +21,7 @@ export class AppleNotificationSender {
|
||||
return this._lastRefreshedTimeMs && Date.now() - this._lastRefreshedTimeMs < thirtyMinutesMs;
|
||||
}
|
||||
|
||||
private reloadAPNsTokenIfTimePassed() {
|
||||
public reloadAPNsTokenIfTimePassed() {
|
||||
if (this.lastReloadedTimeForAPNsIsTooRecent()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user