Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
20 lines
733 B
TypeScript
20 lines
733 B
TypeScript
// Module ID: 9656
|
|
// Function ID: 9657
|
|
// Name: uploadDebugLog
|
|
// Dependencies: [1074, 1271, 2]
|
|
// Exports: default
|
|
|
|
// Module 9656 (uploadDebugLog)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import HTTPUtils from "HTTPUtils" /* 1271 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const Endpoints = Constants.Endpoints;
|
|
const result = size.fileFinishedImporting("modules/debug/uploadDebugLog.tsx");
|
|
|
|
export default function uploadDebugLog(arg0) {
|
|
({ category, filename, body } = arg0);
|
|
const HTTP = HTTPUtils.HTTP;
|
|
const request = { url: Endpoints.DEBUG_LOG(category, filename), body, headers: { "Content-Type": "text/plain; charset=utf-8" }, timeout: 60000, retries: 3, rejectWithError: true };
|
|
return HTTP.post(request);
|
|
};
|