mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-10-31 23:32:26 -05:00
fix credentials path
This commit is contained in:
parent
8aad5e88f9
commit
9b524bc0d4
2 changed files with 5 additions and 4 deletions
|
|
@ -3,6 +3,7 @@ import { INodeType, INodeTypeDescription, NodeConnectionType } from 'n8n-workflo
|
|||
import { textFields, textOperations } from './TextDescription';
|
||||
|
||||
const baseURL = 'https://inference.do-ai.run/v1';
|
||||
const version = '1.0.2';
|
||||
|
||||
export class ServerlessInference implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
|
|
@ -31,7 +32,7 @@ export class ServerlessInference implements INodeType {
|
|||
headers: {
|
||||
Accept: 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': 'Gradient/n8n/1.0.1',
|
||||
'User-Agent': `Gradient/n8n/${version}`,
|
||||
},
|
||||
},
|
||||
properties: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue