Publish Meshkee static-image slot catalog so dashboard Refresh can import keys.
The storefront already consumed slots, but GET /meshkee/static-image-slots was missing, so Meshkee never registered slider, categories, four-icon-image, about-us, or brands for this domain. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-1
@@ -38,7 +38,8 @@ export async function getStaticImageSlots(pageKey?: string): Promise<StaticImage
|
||||
try {
|
||||
const qs = pageKey ? `?pageKey=${encodeURIComponent(pageKey)}` : "";
|
||||
const data = await meshkeeFetch<{ items: StaticImageSlot[] }>(
|
||||
`/tenants/${TENANT_DOMAIN}/website/static-images${qs}`
|
||||
`/tenants/${TENANT_DOMAIN}/website/static-images${qs}`,
|
||||
60
|
||||
);
|
||||
return data.items;
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user