mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(core): Revert rule @typescript-eslint/prefer-nullish-coalescing
This commit is contained in:
@@ -23,7 +23,7 @@ async function getAccessToken(
|
||||
const signature = jwt.sign(
|
||||
{
|
||||
iss: credentials.email as string,
|
||||
sub: credentials.delegatedEmail ?? (credentials.email as string),
|
||||
sub: credentials.delegatedEmail || (credentials.email as string),
|
||||
scope: scopes.join(' '),
|
||||
aud: 'https://oauth2.googleapis.com/token',
|
||||
iat: now,
|
||||
@@ -79,7 +79,7 @@ export async function googleApiRequest(
|
||||
method,
|
||||
body,
|
||||
qs,
|
||||
uri: uri ?? `https://bigquery.googleapis.com/bigquery${resource}`,
|
||||
uri: uri || `https://bigquery.googleapis.com/bigquery${resource}`,
|
||||
json: true,
|
||||
};
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user