Merge pull request #467 from skot/fix_swarm_restart

Swarm restart returns text, not json
This commit is contained in:
Erik Olof Gunnar Andersson 2024-11-10 00:22:37 +01:00 committed by GitHub
commit 45170b2291
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ export class SystemService {
}
public restart(uri: string = '') {
return this.httpClient.post(`${uri}/api/system/restart`, {});
return this.httpClient.post(`${uri}/api/system/restart`, {}, {responseType: 'text'});
}
public updateSystem(uri: string = '', update: any) {