mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Remove code for unused welcome flows
Summary: Removes code that was marked for removal. Test Plan: Existing tests still pass. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3289
This commit is contained in:
@@ -37,12 +37,18 @@ export class BaseAPI {
|
||||
};
|
||||
}
|
||||
|
||||
// Make a JSON request to the given URL, and read the esponse as JSON. Handles errors, and
|
||||
// Make a JSON request to the given URL, and read the response as JSON. Handles errors, and
|
||||
// counts pending requests in the same way as BaseAPI methods do.
|
||||
public static requestJson(url: string, init: RequestInit = {}): Promise<unknown> {
|
||||
return new BaseAPI().requestJson(url, init);
|
||||
}
|
||||
|
||||
// Make a request to the given URL, and read the response. Handles errors, and
|
||||
// counts pending requests in the same way as BaseAPI methods do.
|
||||
public static request(url: string, init: RequestInit = {}): Promise<Response> {
|
||||
return new BaseAPI().request(url, init);
|
||||
}
|
||||
|
||||
private static _numPendingRequests: number = 0;
|
||||
|
||||
protected fetch: typeof fetch;
|
||||
|
||||
Reference in New Issue
Block a user