Skip to content

Commit d501a54

Browse files
authored
Merge pull request #3233 from myverdict/patch-17
Update part4d.md
2 parents b70918e + c64f2a2 commit d501a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/en/part4d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ Modify adding new blogs so that it is only possible if a valid token is sent wit
412412

413413
#### 4.20*: bloglist expansion, step8
414414

415-
[This example](/en/part4/token_authentication) from part 4 shows taking the token from the header with the _getTokenFrom_ helper function.
415+
[This example](/en/part4/token_authentication) from part 4 shows taking the token from the header with the _getTokenFrom_ helper function in <i>controllers/blogs.js</i>.
416416

417417
If you used the same solution, refactor taking the token to a [middleware](/en/part3/node_js_and_express#middleware). The middleware should take the token from the <i>Authorization</i> header and place it into the <i>token</i> field of the <i>request</i> object.
418418

0 commit comments

Comments
 (0)