Files
klz-cables.com/.pnpm-store/v10/files/7c/fd2e3c5bc039de640e92410b279ac0e9ac983709398e48a9eabb8935a6db1812d63180b1bd15517b47987af6bdf4cb98a83d79f7a7c52338a30476a2d647a4
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

17 lines
682 B
Plaintext

import { APIError } from '../../../errors/index.js';
import { createLocalReq } from '../../../utilities/createLocalReq.js';
import { verifyEmailOperation } from '../verifyEmail.js';
export async function verifyEmailLocal(payload, options) {
const { collection: collectionSlug, token } = options;
const collection = payload.collections[collectionSlug];
if (!collection) {
throw new APIError(`The collection with slug ${String(collectionSlug)} can't be found. Verify Email Operation.`);
}
return verifyEmailOperation({
collection,
req: await createLocalReq(options, payload),
token
});
}
//# sourceMappingURL=verifyEmail.js.map