Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
skovati committed Dec 14, 2023
1 parent 0274492 commit f5fb845
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const handle: Handle = async ({ event, resolve }) => {
const validationData = await reqGatewayForwardCookies<ReqValidateSSOResponse>(
'/auth/validateSSO',
cookieHeader,
event.request.url
event.request.url,
);

if (!validationData.success) {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/auth/logout/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const POST: RequestHandler = async event => {
const invalidated = await reqGatewayForwardCookies<boolean>(
'/auth/logoutSSO',
event.request.headers.get('cookie') ?? '',
base
base,
);
return json(
{ message: 'Logout successful', success: invalidated },
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function reqGatewayForwardCookies<T = any>(path: string, cookies: s
const opts = {
headers: {
cookie: cookies,
referrer: referrer ?? "",
referrer: referrer ?? '',
},
};

Expand Down

0 comments on commit f5fb845

Please sign in to comment.