Files
klz-cables.com/.pnpm-store/v10/files/52/49708b70cfe190db6d11cc3d50bbe11eab19d30dab5a98cfeeed2636b364ecd87237208cdb5423a863a8734e660dc779c906f0efd0a76981da509663dd2b65
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

18 lines
533 B
Plaintext

import { isolateObjectProperty, unlockOperation } from 'payload';
export function unlock(collection) {
async function resolver(_, args, context) {
const options = {
collection,
data: {
email: args.email,
username: args.username
},
req: isolateObjectProperty(context.req, 'transactionID')
};
const result = await unlockOperation(options);
return result;
}
return resolver;
}
//# sourceMappingURL=unlock.js.map