Files
klz-cables.com/.pnpm-store/v10/files/d2/69dc0ae3cac9b06674e894d245e31a4bbef9ab102be618d74425a1236f41eb885fecb5322bcab00fb62613b01e2bcf34482efae8d6c81f9a0919f6b63943bb
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
412 B
Plaintext

const e=require(`../../utils/throw-if-empty.cjs`),t=()=>()=>({path:`/relations`,method:`GET`}),n=e=>()=>({path:`/relations/${e}`,method:`GET`}),r=(t,n)=>()=>(e.throwIfEmpty(t,`Collection cannot be empty`),e.throwIfEmpty(n,`Field cannot be empty`),{path:`/relations/${t}/${n}`,method:`GET`});exports.readRelation=r,exports.readRelationByCollection=n,exports.readRelations=t;
//# sourceMappingURL=relations.cjs.map