Updates
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
export = clientFetch;
|
||||
declare function clientFetch(url: string, options?: import("../../package-shared/types").FetchApiOptions, contentType?: "json" | "text" | "html" | "blob" | "file"): Promise<any>;
|
||||
declare function clientFetch(url: string, options?: import("../../package-shared/types").FetchApiOptions, csrf?: boolean): Promise<any>;
|
||||
declare namespace clientFetch {
|
||||
export { clientFetch as fetchApi };
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
const _ = require("lodash");
|
||||
|
||||
/** @type {import("../../package-shared/types").FetchApiFn} */
|
||||
async function clientFetch(url, options, contentType) {
|
||||
async function clientFetch(url, options, csrf) {
|
||||
let data;
|
||||
let finalUrl = url;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user