File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2371,7 +2371,7 @@ class ApiMethods {
2371
2371
await this . axios . post < void > ( "/api/v2/notifications/test" ) ;
2372
2372
} ;
2373
2373
2374
- createNotificationPushSubscription = async (
2374
+ createWebPushSubscription = async (
2375
2375
userId : string ,
2376
2376
req : TypesGen . WebpushSubscription ,
2377
2377
) => {
@@ -2381,7 +2381,7 @@ class ApiMethods {
2381
2381
) ;
2382
2382
} ;
2383
2383
2384
- deleteNotificationPushSubscription = async (
2384
+ deleteWebPushSubscription = async (
2385
2385
userId : string ,
2386
2386
req : TypesGen . DeleteWebpushSubscription ,
2387
2387
) => {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export const useWebpushNotifications = (): WebpushNotifications => {
67
67
throw new Error ( "No keys or endpoint found" ) ;
68
68
}
69
69
70
- await API . createNotificationPushSubscription ( "me" , {
70
+ await API . createWebPushSubscription ( "me" , {
71
71
endpoint : json . endpoint ,
72
72
auth_key : json . keys . auth ,
73
73
p256dh_key : json . keys . p256dh ,
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export const NavbarView: FC<NavbarViewProps> = ({
63
63
64
64
< NavItems className = "ml-4" />
65
65
66
- < div className = " hidden md: flex items-center gap-3 ml-auto" >
66
+ < div className = "flex items-center gap-3 ml-auto" >
67
67
{ proxyContextValue && (
68
68
< div className = "hidden md:block" >
69
69
< ProxyMenu proxyContextValue = { proxyContextValue } />
You can’t perform that action at this time.
0 commit comments