Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy authored and astrobot-houston committed Feb 7, 2024
1 parent 0699f34 commit 9836ddd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/integrations/vercel/src/serverless/entrypoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ export const createExports = (
res.end('Forbidden');
return;
}
locals = typeof localsHeader === 'string'
? JSON.parse(localsHeader)
: JSON.parse(localsHeader[0]);
locals =
typeof localsHeader === 'string' ? JSON.parse(localsHeader) : JSON.parse(localsHeader[0]);
}
// hide the secret from the rest of user code
delete req.headers[ASTRO_MIDDLEWARE_SECRET_HEADER];
Expand Down

0 comments on commit 9836ddd

Please sign in to comment.