mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-10-29 14:22: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';
|
import { textFields, textOperations } from './TextDescription';
|
||||||
|
|
||||||
const baseURL = 'https://inference.do-ai.run/v1';
|
const baseURL = 'https://inference.do-ai.run/v1';
|
||||||
|
const version = '1.0.2';
|
||||||
|
|
||||||
export class ServerlessInference implements INodeType {
|
export class ServerlessInference implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
|
|
@ -31,7 +32,7 @@ export class ServerlessInference implements INodeType {
|
||||||
headers: {
|
headers: {
|
||||||
Accept: 'application/json',
|
Accept: 'application/json',
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'User-Agent': 'Gradient/n8n/1.0.1',
|
'User-Agent': `Gradient/n8n/${version}`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
properties: [
|
properties: [
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@digitalocean/n8n-nodes-digitalocean-gradient-serverless-inference",
|
"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",
|
"description": "This is an n8n community node for the DigitalOcean Gradient™ AI Platform Serverless Inference API",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"n8n-community-node-package"
|
"n8n-community-node-package"
|
||||||
|
|
@ -33,10 +33,10 @@
|
||||||
"n8n": {
|
"n8n": {
|
||||||
"n8nNodesApiVersion": 1,
|
"n8nNodesApiVersion": 1,
|
||||||
"credentials": [
|
"credentials": [
|
||||||
"dist/credentials/DigitalOceanServerlessInference.credentials.js"
|
"dist/credentials/DigitalOceanServerlessInferenceApi.credentials.js"
|
||||||
],
|
],
|
||||||
"nodes": [
|
"nodes": [
|
||||||
"dist/nodes/ServerlessInferenceNode/ServerlessInference.node.js"
|
"dist/nodes/ServerlessInference/DigitalOceanGradientServerlessInference.node.ts"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue