diff --git a/src/resolvers/QueryResolvers.ts b/src/resolvers/QueryResolvers.ts index e676218..98c8965 100644 --- a/src/resolvers/QueryResolvers.ts +++ b/src/resolvers/QueryResolvers.ts @@ -17,7 +17,8 @@ export const QueryResolvers: Resolvers = { }; }, isNotificationScheduled: async (_parent, args, contextValue, _info) => { - return false; + const notificationData = args.input; + return contextValue.notificationService.isNotificationScheduled(notificationData); } }, }