@pokash/n8n-nodes-optima-rest-api 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @pokash/n8n-nodes-optima-rest-api might be problematic. Click here for more details.

@@ -65,7 +65,7 @@ class OptimaRestApiCredentials {
65
65
  this.test = {
66
66
  request: {
67
67
  baseURL: '={{$credentials.gatewayUrl}}',
68
- url: '/api/auth/login',
68
+ url: '/api/account/login',
69
69
  method: 'POST',
70
70
  body: {
71
71
  username: '={{$credentials.username}}',
@@ -304,7 +304,7 @@ class OptimaRestApi {
304
304
  // First, authenticate and get token
305
305
  const loginResponse = await this.helpers.request({
306
306
  method: 'POST',
307
- url: `${gatewayUrl}/api/auth/login`,
307
+ url: `${gatewayUrl}/api/account/login`,
308
308
  body: {
309
309
  username: credentials.username,
310
310
  password: credentials.password,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pokash/n8n-nodes-optima-rest-api",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "n8n node for Comarch Optima REST API integration",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",