Files
klz-cables.com/.pnpm-store/v10/files/91/76b534ebb31e9d3a6ebf5ed646506c2f8e697f697a3ffc427e442dfc6fa4a2efe41b9b64a1067226647d50f617e552180f4262d0cae29e3dac97bc5bcce899
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
505 B
Plaintext

const e=require(`../../utils/throw-if-empty.cjs`),t=(t,n,r)=>()=>(e.throwIfEmpty(t,`Keys cannot be empty`),{path:`/roles`,params:r??{},body:JSON.stringify({keys:t,data:n}),method:`PATCH`}),n=(e,t)=>()=>({path:`/roles`,params:t??{},body:JSON.stringify(e),method:`PATCH`}),r=(t,n,r)=>()=>(e.throwIfEmpty(t,`Key cannot be empty`),{path:`/roles/${t}`,params:r??{},body:JSON.stringify(n),method:`PATCH`});exports.updateRole=r,exports.updateRoles=t,exports.updateRolesBatch=n;
//# sourceMappingURL=roles.cjs.map