Fix n8n probo request options

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-20 13:32:22 +04:00
parent 715a89293f
commit 0f562002b6
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ export class ProboApi implements ICredentialType {
test: ICredentialTestRequest = {
request: {
baseURL: '={{$credentials?.server}}',
url: '/api/console/v1/query',
url: '/api/console/v1/graphql',
method: 'POST',
headers: {
'Content-Type': 'application/json',

View File

@@ -21,7 +21,7 @@ export async function proboApiRequest(
const options: IHttpRequestOptions = {
method: 'POST',
baseURL: `${credentials.server}`,
url: '/api/console/v1/query',
url: '/api/console/v1/graphql',
headers: {
Authorization: `Bearer ${credentials.apiKey}`,
'Content-Type': 'application/json',