Skip to content

Commit

Permalink
docs: Fix Typescript typo in authentication chapter (#5621)
Browse files Browse the repository at this point in the history
* Fix Typescript typo in authentication chapter

* Move changes to docs/docs

Co-authored-by: Kunal Arya <me@example.com>
Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
  • Loading branch information
3 people committed Jun 10, 2022
1 parent 5e3cb58 commit 14ec0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/chapter4/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ export const getCurrentUser = async (session) => {
</TabItem>
<TabItem value="ts" label="TypeScript">
```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 },
Expand Down

0 comments on commit 14ec0c7

Please sign in to comment.