mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
add missing modifiers
This commit is contained in:
parent
7a57a8c6ee
commit
4ee3ff9eb7
@ -81,11 +81,11 @@ export class InstallAPIImpl extends BaseAPI implements InstallAPI {
|
|||||||
return this.requestJson(`${this._url}/api/install/updates`, {method: 'GET'});
|
return this.requestJson(`${this._url}/api/install/updates`, {method: 'GET'});
|
||||||
}
|
}
|
||||||
|
|
||||||
getChecks(): Promise<{probes: BootProbeInfo[]}> {
|
public getChecks(): Promise<{probes: BootProbeInfo[]}> {
|
||||||
return this.requestJson(`${this._url}/api/probes`, {method: 'GET'});
|
return this.requestJson(`${this._url}/api/probes`, {method: 'GET'});
|
||||||
}
|
}
|
||||||
|
|
||||||
runCheck(id: string): Promise<BootProbeResult> {
|
public runCheck(id: string): Promise<BootProbeResult> {
|
||||||
return this.requestJson(`${this._url}/api/probes/${id}`, {method: 'GET'});
|
return this.requestJson(`${this._url}/api/probes/${id}`, {method: 'GET'});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user