change reloadAPNsTokenIfTimePassed method to public for testing

This commit is contained in:
2025-03-24 09:42:41 -07:00
parent 7f1bf005c1
commit 9869632a88

View File

@@ -21,7 +21,7 @@ export class AppleNotificationSender {
return this._lastRefreshedTimeMs && Date.now() - this._lastRefreshedTimeMs < thirtyMinutesMs;
}
private reloadAPNsTokenIfTimePassed() {
public reloadAPNsTokenIfTimePassed() {
if (this.lastReloadedTimeForAPNsIsTooRecent()) {
return;
}