We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd5083d commit 3784a1bCopy full SHA for 3784a1b
src/article/interface/http/articleController/CreateArticleHandler.ts
@@ -17,7 +17,7 @@ const { getBody } = makeValidator({
17
});
18
19
const createArticleHandler = handler(({ createArticle }: Dependencies) => async (req: Request, res: Response) => {
20
- const { title, content } = await getBody(req);
+ const { title, content } = getBody(req);
21
22
const articleId = await createArticle({ title, content });
23
0 commit comments