From 5575995992c58cff59925579020c47c68be4aecf Mon Sep 17 00:00:00 2001 From: Anthony Liddle Date: Tue, 7 Nov 2023 15:53:57 -0800 Subject: [PATCH] fix(recs): update recommendation endpoint for images --- server/api/[server]/recommendations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/[server]/recommendations.ts b/server/api/[server]/recommendations.ts index 25744a3d25..5c3ef4180b 100644 --- a/server/api/[server]/recommendations.ts +++ b/server/api/[server]/recommendations.ts @@ -3,7 +3,7 @@ export default defineEventHandler(async (event) => { const { locale } = getQuery(event) const recommendations = await fetch( - `https://mozilla.social/content-feed/moso/v1/discover?locale=${locale}&image_sizes=268x`, + `https://mozilla.social/content-feed/moso/v1/discover?locale=${locale}&image_sizes[]=268x`, ) .then(response => response.json()) .then(response => response.data)