mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
reload apns token on startup
This commit is contained in:
@@ -26,6 +26,7 @@ async function main() {
|
|||||||
await repositoryDataUpdater.start();
|
await repositoryDataUpdater.start();
|
||||||
|
|
||||||
const notificationService = new NotificationService(repository);
|
const notificationService = new NotificationService(repository);
|
||||||
|
notificationService.reloadAPNsTokenIfTimePassed();
|
||||||
|
|
||||||
const { url } = await startStandaloneServer(server, {
|
const { url } = await startStandaloneServer(server, {
|
||||||
listen: {
|
listen: {
|
||||||
|
|||||||
Reference in New Issue
Block a user