Files
klz-cables.com/.pnpm-store/v10/files/a0/dcd3753400e49836098219dee216e03dce63e478686f30f2309132657ae7dcf5f88b5ccd8ad9c1a4382486f6d6c0b952b8de444ded4c54e483a2145565203b
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
538 B
Plaintext

import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=(t,n,r)=>()=>(e(t,`Keys cannot be empty`),{path:`/permissions`,params:r??{},body:JSON.stringify({keys:t,data:n}),method:`PATCH`}),n=(e,t)=>()=>({path:`/permissions`,params:t??{},body:JSON.stringify(e),method:`PATCH`}),r=(t,n,r)=>()=>(e(String(t),`Key cannot be empty`),{path:`/permissions/${t}`,params:r??{},body:JSON.stringify(n),method:`PATCH`});export{r as updatePermission,t as updatePermissions,n as updatePermissionsBatch};
//# sourceMappingURL=permissions.js.map