From 14ec0c7ff4107edb9290f4409389518fb860b11a Mon Sep 17 00:00:00 2001 From: kunalarya Date: Fri, 10 Jun 2022 03:31:40 -0700 Subject: [PATCH] docs: Fix Typescript typo in authentication chapter (#5621) * Fix Typescript typo in authentication chapter * Move changes to docs/docs Co-authored-by: Kunal Arya Co-authored-by: Dominic Saadi --- docs/docs/tutorial/chapter4/authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/tutorial/chapter4/authentication.md b/docs/docs/tutorial/chapter4/authentication.md index e3fd61e4d046..9f0056d6cc8c 100644 --- a/docs/docs/tutorial/chapter4/authentication.md +++ b/docs/docs/tutorial/chapter4/authentication.md @@ -884,7 +884,7 @@ export const getCurrentUser = async (session) => { -```javascript title="api/src/lib/auth.js" +```ts title="api/src/lib/auth.ts" export const getCurrentUser = async (session) => { return await db.user.findUnique({ where: { id: session.id },