mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Update one
This commit is contained in:
parent
a6fe16cdb5
commit
1bb9238576
|
@ -76,8 +76,7 @@ export class CodeFlow {
|
|||
const data =
|
||||
typeof url.search === 'string' ? qs.parse(url.search.substring(1)) : url.search || {};
|
||||
|
||||
// @Cleanup: URL above should never not be a string, so we shouldn't need the fallback that breaks type-safety here
|
||||
// @ts-expect-error We don't mind this throwing, as that's what we're about to do
|
||||
// @ts-expect-error getAuthError is not correctly typed
|
||||
const error = getAuthError(data);
|
||||
if (error) throw error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue