Skip to content

Commit 94f44c7

Browse files
committed
Prettier
1 parent 0831e81 commit 94f44c7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/src/lib/oauth-state-machine.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ export const oauthTransitions: Record<OAuthStep, StateTransition> = {
177177
authorizationCode: context.state.authorizationCode,
178178
codeVerifier,
179179
redirectUri: context.provider.redirectUrl,
180-
resource: context.state.resource ? (context.state.resource instanceof URL ? context.state.resource : new URL(context.state.resource)) : undefined,
180+
resource: context.state.resource
181+
? context.state.resource instanceof URL
182+
? context.state.resource
183+
: new URL(context.state.resource)
184+
: undefined,
181185
});
182186

183187
context.provider.saveTokens(tokens);

0 commit comments

Comments
 (0)