File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export const usePushNotifications = (): PushNotifications => {
49
49
const registration = await navigator . serviceWorker . ready ;
50
50
51
51
// Note: You'd typically get this key from your server
52
- const vapidPublicKey = buildInfoQuery . data ?. push_notifications_public_key ;
52
+ const vapidPublicKey = buildInfoQuery . data ?. webpush_public_key ;
53
53
54
54
const subscription = await registration . pushManager . subscribe ( {
55
55
userVisibleOnly : true ,
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ export const MockBuildInfo: TypesGen.BuildInfoResponse = {
227
227
workspace_proxy : false ,
228
228
upgrade_message : "My custom upgrade message" ,
229
229
deployment_id : "510d407f-e521-4180-b559-eab4a6d802b8" ,
230
- push_notifications_public_key : "fake-public-key" ,
230
+ webpush_public_key : "fake-public-key" ,
231
231
telemetry : true ,
232
232
} ;
233
233
You can’t perform that action at this time.
0 commit comments