19 lines
712 B
TypeScript
19 lines
712 B
TypeScript
// Module ID: 13510
|
|
// Function ID: 13511
|
|
// Name: fetchExperiments
|
|
// Dependencies: [676, 530, 2]
|
|
// Exports: fetchExperiments
|
|
|
|
// Module 13510 (fetchExperiments)
|
|
import { Endpoints } from "ME";
|
|
|
|
const result = require("set").fileFinishedImporting("modules/experiments/fetchExperiments.tsx");
|
|
|
|
export const fetchExperiments = function fetchExperiments(arg0) {
|
|
let context;
|
|
let headers;
|
|
let withGuildExperiments;
|
|
({ withGuildExperiments, headers, context } = arg0);
|
|
const HTTP = require(530) /* sendRequest */.HTTP;
|
|
return HTTP.get({ url: Endpoints.EXPERIMENTS, query: { with_guild_experiments: withGuildExperiments }, headers, context, retries: 3, oldFormErrors: true, rejectWithError: false });
|
|
};
|