From 2d51081b20dfd512d33e03c50cfd6f275176720e Mon Sep 17 00:00:00 2001 From: Mat Sz Date: Fri, 22 Dec 2023 17:02:10 +0100 Subject: [PATCH] fix issues with missing file type --- web/src/stores/NetworkStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/stores/NetworkStore.ts b/web/src/stores/NetworkStore.ts index 899ecad..9d221c7 100644 --- a/web/src/stores/NetworkStore.ts +++ b/web/src/stores/NetworkStore.ts @@ -142,7 +142,7 @@ export class NetworkStore { targetId, file.name, file.size, - file.type, + file.type || 'application/octet-stream', preview );