From bc80a358d8c5eb1c1279ee3002687ddb164e8d8b Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 5 Feb 2021 15:48:20 +0100 Subject: [PATCH] dashboard --- packages/dashboard/src/pages/downloads.js | 2 +- packages/dashboard/src/pages/uploads.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/src/pages/downloads.js b/packages/dashboard/src/pages/downloads.js index 68873093..1a708cc2 100644 --- a/packages/dashboard/src/pages/downloads.js +++ b/packages/dashboard/src/pages/downloads.js @@ -16,7 +16,7 @@ const actions = []; export default function Downloads() { const [page, setPage] = useState(1); - const { data, error } = useSWR("/api/fixtures/downloads", fetcher); + const { data, error } = useSWR("/user/downloads", fetcher); return ( diff --git a/packages/dashboard/src/pages/uploads.js b/packages/dashboard/src/pages/uploads.js index 1def9e12..add42056 100644 --- a/packages/dashboard/src/pages/uploads.js +++ b/packages/dashboard/src/pages/uploads.js @@ -16,7 +16,7 @@ const actions = []; export default function Downloads() { const [page, setPage] = useState(1); - const { data, error } = useSWR("/api/fixtures/uploads", fetcher); + const { data, error } = useSWR("/user/uploads", fetcher); return (