Files
klz-cables.com/.pnpm-store/v10/files/7f/fa51c10aaad4d6d85dd2df5033561d60bfed326215ab0e7ac9b164a0194c7b26b02d25f81206ee64eb2fc964a8bd947e23f2e35928f3a9731b609633971cde
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
423 B
Plaintext

import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=(t,n,r,i)=>()=>(e(t,`Keys cannot be empty`),e(n,`Field cannot be empty`),{path:`/fields/${t}/${n}`,params:i??{},body:JSON.stringify(r),method:`PATCH`}),n=(t,n,r)=>()=>(e(t,`Collection cannot be empty`),{path:`/fields/${t}`,params:r??{},body:JSON.stringify(n),method:`PATCH`});export{t as updateField,n as updateFields};
//# sourceMappingURL=fields.js.map