Skip to content

Commit

Permalink
Fix add-on api call
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 4, 2024
1 parent f35e4e7 commit d600e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/api/addons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function getAddons(
fetch = globalThis.fetch,
params: AddOnParams = {},
): Promise<Page<AddOnListItem>> {
const endpoint = new URL("/addons", BASE_API_URL);
const endpoint = new URL("addons", BASE_API_URL);
Object.entries(params).forEach(([key, value]) => {
endpoint.searchParams.set(key, String(value));
});
Expand Down

0 comments on commit d600e6e

Please sign in to comment.