Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
20 lines
788 B
TypeScript
20 lines
788 B
TypeScript
// Module ID: 14218
|
|
// Function ID: 14219
|
|
// Name: fetchExperiments
|
|
// Dependencies: [1074, 1272, 2]
|
|
// Exports: fetchExperiments
|
|
|
|
// Module 14218 (fetchExperiments)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import HTTPUtils from "HTTPUtils" /* 1272 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const Endpoints = Constants.Endpoints;
|
|
const result = size.fileFinishedImporting("modules/experiments/fetchExperiments.tsx");
|
|
|
|
export const fetchExperiments = function fetchExperiments(arg0) {
|
|
({ withGuildExperiments, headers, context } = arg0);
|
|
const HTTP = HTTPUtils.HTTP;
|
|
const request = { url: Endpoints.EXPERIMENTS, query: { with_guild_experiments: withGuildExperiments }, headers, context, retries: 3, oldFormErrors: true, rejectWithError: false };
|
|
return HTTP.get(request);
|
|
};
|