mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
add missing modifiers
This commit is contained in:
@@ -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'});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user