mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
remove async keyword from APNs reload
This commit is contained in:
@@ -18,7 +18,7 @@ export class NotificationService {
|
|||||||
private encryptionKey = crypto.randomBytes(32);
|
private encryptionKey = crypto.randomBytes(32);
|
||||||
private iv = crypto.randomBytes(16);
|
private iv = crypto.randomBytes(16);
|
||||||
|
|
||||||
public async reloadAPNsTokenIfTimePassed() {
|
public reloadAPNsTokenIfTimePassed() {
|
||||||
if (this.lastReloadedTimeForAPNsIsTooRecent()) {
|
if (this.lastReloadedTimeForAPNsIsTooRecent()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user