Skip to content

Commit 3ae12a7

Browse files
authored
Update part4b.md
Purpose change is about keeping consistency with no space between catch and parameter as in previous examples.
1 parent 27d7076 commit 3ae12a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/en/part4b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ notesRouter.delete('/:id', async (request, response, next) => {
797797
try {
798798
await Note.findByIdAndRemove(request.params.id)
799799
response.status(204).end()
800-
} catch (exception) {
800+
} catch(exception) {
801801
next(exception)
802802
}
803803
})

0 commit comments

Comments
 (0)