From a1a076b960ace6dca5dffe51f616a3853dd39db4 Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Sun, 6 Apr 2025 21:26:25 +0100 Subject: [PATCH] Reworking actions --- frontend/src/app/album/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/album/page.tsx b/frontend/src/app/album/page.tsx index a3e31b3..e12567b 100644 --- a/frontend/src/app/album/page.tsx +++ b/frontend/src/app/album/page.tsx @@ -21,7 +21,7 @@ export default function Page() { useEffect(() => { async function fetchAlbums() { try { - const response = await getAlbums(); + const response = await fetch('https://api.anatid.net/album'); const data = await response.json(); setAlbums(data); } catch (error) {