mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
add implementation for isNotificationScheduled
This commit is contained in:
@@ -17,7 +17,8 @@ export const QueryResolvers: Resolvers<ServerContext> = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
isNotificationScheduled: async (_parent, args, contextValue, _info) => {
|
isNotificationScheduled: async (_parent, args, contextValue, _info) => {
|
||||||
return false;
|
const notificationData = args.input;
|
||||||
|
return contextValue.notificationService.isNotificationScheduled(notificationData);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user