mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Supabase Node): Send token also via Authorization Bearer (#2814)
Send Authorization Bearer in headers Fix typo in validateCredentials function
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
||||
buildOrQuery,
|
||||
buildQuery,
|
||||
supabaseApiRequest,
|
||||
validateCrendentials,
|
||||
validateCredentials,
|
||||
} from './GenericFunctions';
|
||||
|
||||
import {
|
||||
@@ -106,7 +106,7 @@ export class Supabase implements INodeType {
|
||||
credentialTest: {
|
||||
async supabaseApiCredentialTest(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise<INodeCredentialTestResult> {
|
||||
try {
|
||||
await validateCrendentials.call(this, credential.data as ICredentialDataDecryptedObject);
|
||||
await validateCredentials.call(this, credential.data as ICredentialDataDecryptedObject);
|
||||
} catch (error) {
|
||||
return {
|
||||
status: 'Error',
|
||||
|
||||
Reference in New Issue
Block a user