From f1f1d5c971b865a8ac4d58514eea3c5126dffc8a Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 4 Feb 2025 10:42:12 -0800 Subject: [PATCH] remove cancelAllNotifications resolver --- schema.graphqls | 1 - src/resolvers/MutationResolvers.ts | 7 ------- 2 files changed, 8 deletions(-) diff --git a/schema.graphqls b/schema.graphqls index ab2ab99..da87864 100644 --- a/schema.graphqls +++ b/schema.graphqls @@ -69,7 +69,6 @@ type Query { type Mutation { scheduleNotification(input: NotificationInput): NotificationResponse cancelNotification(input: NotificationInput): NotificationResponse - cancelAllNotifications(deviceId: ID!): NotificationResponse } input NotificationInput { diff --git a/src/resolvers/MutationResolvers.ts b/src/resolvers/MutationResolvers.ts index a050bb1..9332e8b 100644 --- a/src/resolvers/MutationResolvers.ts +++ b/src/resolvers/MutationResolvers.ts @@ -17,12 +17,5 @@ export const MutationResolvers: Resolvers = { } return response; }, - cancelAllNotifications: async (_parent, args, context, _info) => { - const response: NotificationResponse = { - message: "Not implemented", - success: false - } - return response; - }, }, }