Skip to content

Commit

Permalink
fix(optimize): fix exportReportDefinitions REST call path
Browse files Browse the repository at this point in the history
fixes #192
  • Loading branch information
jwulf committed Jun 18, 2024
1 parent a81002e commit e5f5da7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"github",
"modeler",
"operate",
"camunda8"
"camunda8",
"optimize"
],
"editor.formatOnSave": true,

Expand Down
2 changes: 1 addition & 1 deletion src/optimize/lib/OptimizeApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit e5f5da7

Please sign in to comment.