From 226d946ec84cc73ba8da24240953ae0a09ca6d03 Mon Sep 17 00:00:00 2001 From: Jayvin Hernandez Date: Sun, 18 Jun 2023 19:28:20 -0700 Subject: [PATCH] fix: stuff (#423) * fix: copying and opening another user's upload url * fix: delete thumbnails too * fix: return target after removing files from output * fix: add width to fix diced/zipline#419 (can't test) * Minor script tune-ups. * Remove the catcher for when upload has been offloaded to chunk --- src/components/Layout.tsx | 6 +++++- src/components/pages/Upload/File.tsx | 2 ++ src/pages/api/user/[id].ts | 24 +++++++++++++++++++++--- src/pages/api/user/files.ts | 7 +++++++ src/scripts/clear-temp.ts | 4 +++- src/scripts/clear-zero-byte.ts | 3 +++ src/scripts/import-dir.ts | 2 ++ src/scripts/list-users.ts | 8 +++++++- src/scripts/query-size.ts | 3 +++ src/scripts/set-user.ts | 4 ++++ yarn.lock | 6 +++--- 11 files changed, 60 insertions(+), 9 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index c57a770..1d1603b 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -349,7 +349,11 @@ export default function Layout({ children, props }) {