@@ -26,7 +26,6 @@ import {
26
26
setApplicationInfo ,
27
27
submitApplicationInfo ,
28
28
} from "./routes/application_info" ;
29
- import { createEventPushSubscription , deleteEventPushSubscription , getEventSubscriptions } from "./routes/event_subscriptions"
30
29
import { getMeetInfo , setMeetInfo } from "./routes/meet_info" ;
31
30
import { getUsedMeals , setUsedMeals } from "./routes/used_meals" ;
32
31
import { getWorkshopList , setWorkshopList } from "./routes/workshop_info" ;
@@ -95,11 +94,6 @@ import {
95
94
getSponsorDetail ,
96
95
createAdmin
97
96
} from "./routes/sponsors"
98
- import LiveNotificationsService from "./services/live_notifications" ;
99
-
100
- // Start the notification service
101
- const notificationService = new LiveNotificationsService ( ) ;
102
- notificationService . start ( ) ;
103
97
104
98
// Set up the Express app
105
99
const app = express ( ) ;
@@ -155,11 +149,6 @@ apiRouter.get("/leaderboard", [anonymousRoute], leaderboard);
155
149
apiRouter . post ( "/mentor_create" , [ anonymousRoute ] , mentorCreate ) ;
156
150
apiRouter . post ( "/sponsor/admin" , createAdmin ) ;
157
151
158
- // Live push notifications, no auth required
159
- apiRouter . post ( '/live/event_subscriptions' , createEventPushSubscription ) ;
160
- apiRouter . delete ( '/live/event_subscriptions' , deleteEventPushSubscription ) ;
161
- apiRouter . get ( '/live/event_subscriptions' , getEventSubscriptions ) ;
162
-
163
152
apiRouter . use ( "/" , authenticatedRoute ) ;
164
153
165
154
// Auth - user must be signed in:
0 commit comments