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