From e5f5da7bf1e5ab7752fad622d150ec3dfe3e8f47 Mon Sep 17 00:00:00 2001 From: Josh Wulf Date: Tue, 18 Jun 2024 15:19:22 +1200 Subject: [PATCH] fix(optimize): fix exportReportDefinitions REST call path fixes #192 --- .vscode/settings.json | 3 ++- src/optimize/lib/OptimizeApiClient.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index dc96b7fb..0561ac70 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,8 @@ "github", "modeler", "operate", - "camunda8" + "camunda8", + "optimize" ], "editor.formatOnSave": true, diff --git a/src/optimize/lib/OptimizeApiClient.ts b/src/optimize/lib/OptimizeApiClient.ts index 55581087..29eb5d00 100644 --- a/src/optimize/lib/OptimizeApiClient.ts +++ b/src/optimize/lib/OptimizeApiClient.ts @@ -285,7 +285,7 @@ export class OptimizeApiClient { const headers = await this.getHeaders() const rest = await this.rest return rest - .post('public/export/dashboard/definition/json', { + .post('public/export/report/definition/json', { body: JSON.stringify(reportIds), headers, })