mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 08:50:29 +00:00
remove cancelAllNotifications resolver
This commit is contained in:
@@ -69,7 +69,6 @@ type Query {
|
|||||||
type Mutation {
|
type Mutation {
|
||||||
scheduleNotification(input: NotificationInput): NotificationResponse
|
scheduleNotification(input: NotificationInput): NotificationResponse
|
||||||
cancelNotification(input: NotificationInput): NotificationResponse
|
cancelNotification(input: NotificationInput): NotificationResponse
|
||||||
cancelAllNotifications(deviceId: ID!): NotificationResponse
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input NotificationInput {
|
input NotificationInput {
|
||||||
|
|||||||
@@ -17,12 +17,5 @@ export const MutationResolvers: Resolvers<ServerContext> = {
|
|||||||
}
|
}
|
||||||
return response;
|
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