Linting
This commit is contained in:
parent
19ee9fa86a
commit
88984c7bc7
1 changed files with 15 additions and 11 deletions
|
|
@ -25,9 +25,14 @@ const OAuthCallback = () => {
|
|||
}
|
||||
|
||||
try {
|
||||
const result = await auth(authProvider, { serverUrl, authorizationCode: code });
|
||||
const result = await auth(authProvider, {
|
||||
serverUrl,
|
||||
authorizationCode: code,
|
||||
});
|
||||
if (result !== "AUTHORIZED") {
|
||||
throw new Error(`Expected to be authorized after providing auth code, got: ${result}`);
|
||||
throw new Error(
|
||||
`Expected to be authorized after providing auth code, got: ${result}`,
|
||||
);
|
||||
}
|
||||
|
||||
// Redirect back to the main app with server URL to trigger auto-connect
|
||||
|
|
|
|||
Loading…
Reference in a new issue