From 64e2622954b542dc9f12bd3031b746f616a00adf Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Tue, 5 Aug 2025 22:51:58 +0200 Subject: [PATCH] Fix uploading multiple models when sharing links --- frontend/tools/PlaygroundDialogContent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/tools/PlaygroundDialogContent.vue b/frontend/tools/PlaygroundDialogContent.vue index 8eb0365..bf36fc5 100644 --- a/frontend/tools/PlaygroundDialogContent.vue +++ b/frontend/tools/PlaygroundDialogContent.vue @@ -203,7 +203,7 @@ async function uploadAndShareLink() { // Upload code.py const codeBlob = new Blob([model.value.code], {type: 'text/x-python'}); - const newParams: Record = { + const newParams: Record> = { 'pg_code': await uploadFile('code.py', new Uint8Array(await codeBlob.arrayBuffer())) };