Files
klz-cables.com/.pnpm-store/v10/files/2c/f901d254b92dcffb00b529dc5264d8de914577aa55b06a3fe702dc00654b6bb43fc4076029ced24864a9da50e54644bdb48f79f6f8afd7e577a2c8f31d9ef7
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
516 B
Plaintext

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