mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-26 17:51:45 +01:00
Merge pull request #467 from skot/fix_swarm_restart
Swarm restart returns text, not json
This commit is contained in:
commit
45170b2291
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user