From abfd801e5c86a595477a5f94ee9c83e6a20e46ac Mon Sep 17 00:00:00 2001 From: Nemi Shah Date: Mon, 11 Sep 2023 11:47:37 +0530 Subject: [PATCH] Fix debug log --- lib/build/recipe/dashboard/recipeImplementation.js | 2 +- lib/ts/recipe/dashboard/recipeImplementation.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/build/recipe/dashboard/recipeImplementation.js b/lib/build/recipe/dashboard/recipeImplementation.js index 72a00ff16..0e097108d 100644 --- a/lib/build/recipe/dashboard/recipeImplementation.js +++ b/lib/build/recipe/dashboard/recipeImplementation.js @@ -103,7 +103,7 @@ function getRecipeImplementation() { const emailInHeaders = input.req.getHeaderValue("email"); if (emailInHeaders === undefined) { logger_1.logDebugMessage( - "User Dashboard: Returniing OPERATION_NOT_ALLOWED because no email was provided in headers" + "User Dashboard: Returning Unauthorised because no email was provided in headers" ); return false; } diff --git a/lib/ts/recipe/dashboard/recipeImplementation.ts b/lib/ts/recipe/dashboard/recipeImplementation.ts index bffe097ed..72a757b5b 100644 --- a/lib/ts/recipe/dashboard/recipeImplementation.ts +++ b/lib/ts/recipe/dashboard/recipeImplementation.ts @@ -68,7 +68,7 @@ export default function getRecipeImplementation(): RecipeInterface { if (emailInHeaders === undefined) { logDebugMessage( - "User Dashboard: Returniing OPERATION_NOT_ALLOWED because no email was provided in headers" + "User Dashboard: Returning Unauthorised because no email was provided in headers" ); return false; }