Commit aeb2be33 authored by Jan Marchel's avatar Jan Marchel
Browse files

updating clean byon method

parent 1d247143
Pipeline #17662 failed with stage
in 2 minutes and 36 seconds
......@@ -105,11 +105,9 @@ export class ByonService {
cleanByon() {
const requestUrl = `${this.apiUrl}/cleanByon`;
return this.http.get(requestUrl, httpOptions).pipe(
tap((response: ByonEnums) => {
console.log(`Byon definitions successfully deleted`);
},
e => console.log(`Error by deleting byon definitions:`, e))
return this.http.put(requestUrl, httpOptions).pipe(
tap(() => console.log('Byon Nodes cleaning started.'),
e => console.error(`Error by cleaning Byon Nodes: `, 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