Small error

This commit is contained in:
Matthew Raymer
2023-08-12 21:12:39 +08:00
parent 1bf5758fb2
commit 38097e5ba4

View File

@@ -44,7 +44,7 @@ export class NotificationService {
const encrypted = this.encrypt(subscription.keys.p256dh, subscription.keys.auth, payload); const encrypted = this.encrypt(subscription.keys.p256dh, subscription.keys.auth, payload);
const vapidHeaders = this.vapidService.createVapidAuthHeader(); const vapidHeaders = await this.vapidService.createVapidAuthHeader();
const parsedUrl = new URL(subscription.endpoint); const parsedUrl = new URL(subscription.endpoint);
const options: https.RequestOptions = { const options: https.RequestOptions = {