Skip to content

Commit ff7aacc

Browse files
Update src/articles/articles.plugin.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e6a273e commit ff7aacc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/articles/articles.plugin.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ export const articlesPlugin = new Elysia().use(setupArticles).group(
7676
async ({ params, store, request }) =>
7777
store.articlesService.findBySlug(
7878
params.slug,
79-
await store.authService.getOptionalUserIdFromHeader(request.headers)
79+
await store.authService.getOptionalUserIdFromHeader(
80+
request.headers,
81+
),
8082
),
8183
{
8284
response: ReturnedArticleResponseSchema,

0 commit comments

Comments
 (0)