Skip to content

Commit

Permalink
Move changes to docs/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal Arya committed May 27, 2022
1 parent f9f1133 commit fb9803e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/docs/tutorial/chapter4/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,9 @@ export const getCurrentUser = async (session) => {
```
</TabItem>
<TabItem value="ts" label="TyepScript">
<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
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,9 @@ export const getCurrentUser = async (session) => {
```
</TabItem>
<TabItem value="ts" label="TypeScript">
<TabItem value="ts" label="TyepScript">
```ts title="api/src/lib/auth.ts"
```javascript title="api/src/lib/auth.js"
export const getCurrentUser = async (session) => {
return await db.user.findUnique({
where: { id: session.id },
Expand Down

0 comments on commit fb9803e

Please sign in to comment.