chore: Update ZenThemeMarketplaceChild.sys.mjs to use correct API endpoint for fetching theme info

This commit is contained in:
mauro-balades 2024-08-27 17:14:31 +02:00
parent 4a6a0964de
commit 9b90aab014

View file

@ -96,7 +96,7 @@ export class ZenThemeMarketplaceChild extends JSWindowActorChild {
}
async getThemeInfo(themeId) {
const url = `https://zen-browser.app/api/get-theme?id=${themeId}`;
const url = `https://zen-browser.app/api/get-theme/${themeId}`;
console.info("ZTM: Fetching theme info from: ", url);
const data = await fetch(url, {
mode: "no-cors",