2026-09-21 19:31:18 +00:00
|
|
|
// Module ID: 13020
|
|
|
|
|
// Function ID: 13021
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: uploadDebugLog
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [1078, 1275, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
// Module 13020 (uploadDebugLog)
|
|
|
|
|
import Constants from "Constants" /* 1078 */;
|
|
|
|
|
import HTTPUtils from "HTTPUtils" /* 1275 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
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);
|
|
|
|
|
};
|