Commit e0a5787d authored by Łukasz Szymański's avatar Łukasz Szymański
Browse files

adding button to undeploy application - changing to post

parent 9a937111
Pipeline #15213 passed with stages
in 5 minutes and 49 seconds
......@@ -75,7 +75,7 @@ export class DeploymentDetailsService {
undeployApplication(applicationId: string): Observable<JobUndeploymentState> {
const requestUrl = `${this.apiUrl}/undeploy`;
return this.http.get(requestUrl, httpOptions).pipe(
return this.http.post(requestUrl, {applicationId}, httpOptions).pipe(
tap((response: JobUndeploymentState) => console.log(`Response from ProActive job undeployment - state: ${response.state}`),
e => console.log('Error by getting ProActive job undeployment state: ', e))
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment