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

Commit

Permalink
Merge pull request #81 from MozillaSocial/fix/update-recs-endpoint
Browse files Browse the repository at this point in the history
fix(recs): update recommendation endpoint for images
  • Loading branch information
anthony-liddle authored Nov 7, 2023
2 parents d46aeb1 + 5575995 commit b4efe16
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit b4efe16

Please sign in to comment.