mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-10-28 14:12:24 -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: [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@digitalocean/n8n-nodes-digitalocean-gradient-serverless-inference",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "This is an n8n community node for the DigitalOcean Gradient™ AI Platform Serverless Inference API",
|
||||
"keywords": [
|
||||
"n8n-community-node-package"
|
||||
|
|
@ -33,10 +33,10 @@
|
|||
"n8n": {
|
||||
"n8nNodesApiVersion": 1,
|
||||
"credentials": [
|
||||
"dist/credentials/DigitalOceanServerlessInference.credentials.js"
|
||||
"dist/credentials/DigitalOceanServerlessInferenceApi.credentials.js"
|
||||
],
|
||||
"nodes": [
|
||||
"dist/nodes/ServerlessInferenceNode/ServerlessInference.node.js"
|
||||
"dist/nodes/ServerlessInference/DigitalOceanGradientServerlessInference.node.ts"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue