forked from mystiq/hydrogen-web
fix type
This commit is contained in:
parent
8fe8981ffa
commit
3b66ed8c17
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ type RageshakeData = {
|
||||||
label: string | undefined;
|
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}>();
|
const formData = new Map<string, string | {name: string, blob: BlobHandle}>();
|
||||||
if (data.text) {
|
if (data.text) {
|
||||||
formData.set("text", data.text);
|
formData.set("text", data.text);
|
||||||
|
|
Loading…
Reference in a new issue