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, })