Skip to content

Commit

Permalink
Fix debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
nkshah2 committed Sep 11, 2023
1 parent 94c31f6 commit abfd801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/build/recipe/dashboard/recipeImplementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/ts/recipe/dashboard/recipeImplementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit abfd801

Please sign in to comment.