From 2d92370254be2541d14bd0bf987ebc8ca15c989d Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Mon, 10 Feb 2025 13:21:41 -0800 Subject: [PATCH] reload apns token on startup --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index cd3ae72..39fe3f6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,6 +26,7 @@ async function main() { await repositoryDataUpdater.start(); const notificationService = new NotificationService(repository); + notificationService.reloadAPNsTokenIfTimePassed(); const { url } = await startStandaloneServer(server, { listen: {