Files
klz-cables.com/.pnpm-store/v10/files/e6/c815c69b9fccedc3b4651d99bb74f3449b3256535ea527126810def63e42dd5ec3e4158c43fd96a4a2b5042cdfc2fe1a46ce3d0caf159b07357a5bf51d67f6
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
488 B
Plaintext

import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=(t,n,r)=>()=>(e(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(t,`Key cannot be empty`),{path:`/roles/${t}`,params:r??{},body:JSON.stringify(n),method:`PATCH`});export{r as updateRole,t as updateRoles,n as updateRolesBatch};
//# sourceMappingURL=roles.js.map