Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jvik committed Dec 21, 2024
1 parent 19666a3 commit 0f5f9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function loadTokens(): StoredElawayToken | null {
async function startOauth(): Promise<ElawayTokenResponse | null> {
let tokenResponse: ElawayTokenResponse | null = null;
let accessIdResponse: null | IdTokenResponse = null;
const authUrl = `${elawayAuthorizationUrl}?response_type=code&client_id=${encodeURIComponent(appClientId)}&redirect_uri=${encodeURIComponent(redirectUri)}&scope=${encodeURIComponent(oauthScope)}&state=${encodeURIComponent(state)}`;
const authUrl = `${elawayAuthorizationUrl}?response_type=code&client_id=${encodeURIComponent(clientId)}&redirect_uri=${encodeURIComponent(redirectUri)}&scope=${encodeURIComponent(oauthScope)}&state=${encodeURIComponent(state)}`;

const browser = await puppeteer.launch({ headless: true });
const page = await browser.newPage();
Expand Down

0 comments on commit 0f5f9ce

Please sign in to comment.