Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

ran prettier

Ollie Hallidayad5629cda726
diff --git a/apps/reference/_supabase_js/generated/auth-getuser.mdx b/apps/reference/_supabase_js/generated/auth-getuser.mdx
index ff0cae221b9..2dcad472172 100644
--- a/apps/reference/_supabase_js/generated/auth-getuser.mdx
+++ b/apps/reference/_supabase_js/generated/auth-getuser.mdx
@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem'
Gets the current user details if there is an existing session.
```js
-const { data, error } = await supabase.auth.getUser();
+const { data, error } = await supabase.auth.getUser()
```
## Parameters
@@ -50,11 +50,15 @@ Takes in an optional access token jwt. If no jwt is provided, getUser() will att
### Get the logged in user with the current existing session
```js
-const { data: { user } } = await supabase.auth.getUser();
+const {
+ data: { user },
+} = await supabase.auth.getUser()
```
### Get the logged in user with a custom access token jwt.
```js
-const { data: { user } } = await supabase.auth.getUser(jwt);
+const {
+ data: { user },
+} = await supabase.auth.getUser(jwt)
```