Files
klz-cables.com/.pnpm-store/v10/files/af/6d32610f7e008f88497337eb81f37eff9bd7a4473b12fbd7ce66160c4d815c2310a1a1c85351e895300c7e28509a783b90bbfece6303fbcfa708908f7f3268
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
627 B
Plaintext

import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=(t,n,r)=>()=>{let i={};return Array.isArray(t)?(e(t,`keysOrQuery cannot be empty`),i={keys:t}):(e(Object.keys(t),`keysOrQuery cannot be empty`),i={query:t}),i.data=n,{path:`/comments`,params:r??{},body:JSON.stringify(i),method:`PATCH`}},n=(e,t)=>()=>({path:`/comments`,params:t??{},body:JSON.stringify(e),method:`PATCH`}),r=(t,n,r)=>()=>(e(String(t),`Key cannot be empty`),{path:`/comments/${t}`,params:r??{},body:JSON.stringify(n),method:`PATCH`});export{r as updateComment,t as updateComments,n as updateCommentsBatch};
//# sourceMappingURL=comments.js.map