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

Commit

Permalink
Merge pull request #2237 from iFixit/topic-images-api-url-encoding-fix
Browse files Browse the repository at this point in the history
topic_images api: stop double-encoding params list
  • Loading branch information
danielbeardsley authored Feb 9, 2024
2 parents 4e3c8e4 + 7178d67 commit acf4bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/lib/ifixit-api/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function fetchMultipleDeviceImages(
});
try {
const result = await client.get(
`wikis/topic_images?` + encodeURIComponent(params.toString()),
`wikis/topic_images?` + params.toString(),
'device-images'
);
return MultipleDeviceApiResponseSchema.parse(result);
Expand Down

0 comments on commit acf4bb1

Please sign in to comment.