From dae949d38cd402315c442a6a856edfc698157626 Mon Sep 17 00:00:00 2001 From: Cullen Lee Date: Thu, 27 Jun 2024 15:09:13 -0700 Subject: [PATCH] Update api.ts --- lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api.ts b/lib/api.ts index c6c5aca..83d2ecc 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -64,7 +64,7 @@ export const fetchChannels = async () => { }; export const fetchImage = async (imageId:string) => { - const response = await fetch(`${apiUrl}${API_BASE_URL}/media/${imageId}`); + const response = await fetch(`${API_BASE_URL}/media/${imageId}`); return response.json(); };