Browse Source

Small error

pull/1/head
Matthew Raymer 1 year ago
parent
commit
38097e5ba4
  1. 2
      src/notificationService.ts

2
src/notificationService.ts

@ -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 = {

Loading…
Cancel
Save