diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api/auth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/auth.ts b/src/api/auth.ts index 14b1193..eddbb1e 100644 --- a/src/api/auth.ts +++ b/src/api/auth.ts @@ -133,7 +133,7 @@ export async function getDiscordCode(scopes: OAuthScopes[], disableFunction?: (d // State integrity check if (message.data.state !== state.toString()) { // This indicates a lack of integrity - throw Error(`Integrity check failed. Expected ${state}, received ${message.data.state}`); + throw Error(`Integrity check failed. Expected state of ${state}, received ${message.data}`); } // Remove handler |