Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

fix(recs): update recommendation endpoint for images #81

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/api/[server]/recommendations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading