Skip to content

Commit 079727c

Browse files
authored
fix: correct instruction about when to call handleUnauthorized (#8)
Updated comment to clarify handling of Authorization header.
1 parent 662f41a commit 079727c

File tree

1 file changed

+1
-1
lines changed
  • exercises/02.init/01.problem.authenticate/src

1 file changed

+1
-1
lines changed

exercises/02.init/01.problem.authenticate/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default {
7272

7373
if (url.pathname === '/mcp') {
7474
// 🐨 check if the request has an Authorization header
75-
// 🐨 if it does, call and return the result of handleUnauthorized
75+
// 🐨 if it does not, call and return the result of handleUnauthorized
7676

7777
const mcp = EpicMeMCP.serve('/mcp', {
7878
binding: 'EPIC_ME_MCP_OBJECT',

0 commit comments

Comments
 (0)