mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
remove cancelAllNotifications resolver
This commit is contained in:
@@ -69,7 +69,6 @@ type Query {
|
||||
type Mutation {
|
||||
scheduleNotification(input: NotificationInput): NotificationResponse
|
||||
cancelNotification(input: NotificationInput): NotificationResponse
|
||||
cancelAllNotifications(deviceId: ID!): NotificationResponse
|
||||
}
|
||||
|
||||
input NotificationInput {
|
||||
|
||||
@@ -17,12 +17,5 @@ export const MutationResolvers: Resolvers<ServerContext> = {
|
||||
}
|
||||
return response;
|
||||
},
|
||||
cancelAllNotifications: async (_parent, args, context, _info) => {
|
||||
const response: NotificationResponse = {
|
||||
message: "Not implemented",
|
||||
success: false
|
||||
}
|
||||
return response;
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user