Skip to content
Snippets Groups Projects
Commit 261ddba3 authored by Gregor Schulz's avatar Gregor Schulz
Browse files

log context for debugging directly

parent 6070e489
No related branches found
No related tags found
No related merge requests found
......@@ -80,9 +80,8 @@ const createResolvers = (novu: Novu, config: ServerConfig) => {
context: GraphQLContext,
): Promise<PreferencesResponse> => {
// todo gregor: remove after fixing
if (!context.userId) {
logger.debug("Context was", context);
}
console.log("Context", context);
logger.info("Context", context);
return config.fake
? Promise.resolve([])
: fetchPreferences(novu, context.userId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment