Files
klz-cables.com/.pnpm-store/v10/files/fb/02d49d4b072f6c48dcd20bd5136b98991958b64463488b4d65087f8b39b1c0daa78b09b6629b1d6744012f11f6262abf147ed4de57c14e60de94566a58d119
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

1 line
1.1 KiB
Plaintext

{"version":3,"sources":["../../../src/resolvers/auth/unlock.ts"],"sourcesContent":["import type { Collection } from 'payload'\n\nimport { isolateObjectProperty, unlockOperation } from 'payload'\n\nimport type { Context } from '../types.js'\n\nexport function unlock(collection: Collection) {\n async function resolver(_, args, context: Context) {\n const options = {\n collection,\n data: { email: args.email, username: args.username },\n req: isolateObjectProperty(context.req, 'transactionID'),\n }\n\n const result = await unlockOperation(options)\n return result\n }\n\n return resolver\n}\n"],"names":["isolateObjectProperty","unlockOperation","unlock","collection","resolver","_","args","context","options","data","email","username","req","result"],"mappings":"AAEA,SAASA,qBAAqB,EAAEC,eAAe,QAAQ,UAAS;AAIhE,OAAO,SAASC,OAAOC,UAAsB;IAC3C,eAAeC,SAASC,CAAC,EAAEC,IAAI,EAAEC,OAAgB;QAC/C,MAAMC,UAAU;YACdL;YACAM,MAAM;gBAAEC,OAAOJ,KAAKI,KAAK;gBAAEC,UAAUL,KAAKK,QAAQ;YAAC;YACnDC,KAAKZ,sBAAsBO,QAAQK,GAAG,EAAE;QAC1C;QAEA,MAAMC,SAAS,MAAMZ,gBAAgBO;QACrC,OAAOK;IACT;IAEA,OAAOT;AACT"}