This commit is contained in:
Bruno Windels 2022-06-15 11:24:16 +02:00
parent 8fe8981ffa
commit 3b66ed8c17

View file

@ -31,7 +31,7 @@ type RageshakeData = {
label: string | undefined;
};
export async function submitLogsToRageshakeServer(data: RageshakeData, logsBlob: BlobHandle, submitUrl: string, request: RequestFunction): Promise<string> {
export async function submitLogsToRageshakeServer(data: RageshakeData, logsBlob: BlobHandle, submitUrl: string, request: RequestFunction): Promise<void> {
const formData = new Map<string, string | {name: string, blob: BlobHandle}>();
if (data.text) {
formData.set("text", data.text);