Files
klz-cables.com/.pnpm-store/v10/files/32/98eca9225640b79cd1882b904c1a11cf6b30f49988cec016392527711b85f3f84ed493e7fa1e0e6ad680b27ae5af972bd9ee9d457075626ee79e5965f863bf
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

2 lines
558 B
Plaintext

const e=require(`../../utils/throw-if-empty.cjs`),t=(t,n)=>()=>(e.throwIfEmpty(t,`ID cannot be empty`),{path:`/versions/${t}/save`,method:`POST`,body:JSON.stringify(n)}),n=t=>()=>(e.throwIfEmpty(t,`ID cannot be empty`),{path:`/versions/${t}/compare`,method:`GET`}),r=(t,n,r)=>()=>(e.throwIfEmpty(t,`ID cannot be empty`),{path:`/versions/${t}/promote`,method:`POST`,body:JSON.stringify(r?{mainHash:n,fields:r}:{mainHash:n})});exports.compareContentVersion=n,exports.promoteContentVersion=r,exports.saveToContentVersion=t;
//# sourceMappingURL=versions.cjs.map