Prettier format pending files
This commit is contained in:
parent
e37457e6a1
commit
3869d1a509
1 changed files with 4 additions and 1 deletions
|
|
@ -877,7 +877,10 @@ export function createServer() {
|
|||
}
|
||||
|
||||
const token = authHeader.replace("Bearer ", "");
|
||||
const { data: { user }, error } = await adminSupabase.auth.getUser(token);
|
||||
const {
|
||||
data: { user },
|
||||
error,
|
||||
} = await adminSupabase.auth.getUser(token);
|
||||
|
||||
if (error || !user) {
|
||||
return res.status(401).json({ error: "Invalid auth token" });
|
||||
|
|
|
|||
Loading…
Reference in a new issue