Skip to content

Commit

Permalink
Merge pull request #189 from camunda/alpha
Browse files Browse the repository at this point in the history
Alpha
  • Loading branch information
jwulf authored Jun 13, 2024
2 parents 3558998 + ea6919e commit 25cff9d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/optimize/lib/OptimizeApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,11 @@ export class OptimizeApiClient {
async labelVariables(variableLabels: VariableLabels) {
const headers = await this.getHeaders()
const rest = await this.rest
return rest('public/variables/labels', {
headers,
body: JSON.stringify(variableLabels),
}).json()
return rest
.post('public/variables/labels', {
headers,
body: JSON.stringify(variableLabels),
})
.json()
}
}

0 comments on commit 25cff9d

Please sign in to comment.