UNPKG

medusa-plugin-sendgrid-typescript

Version:
18 lines 564 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.config = void 0; async function userHandler({ data, eventName, container, pluginOptions, }) { const sendGridService = container.resolve("sendgridService"); if (!data) { return; } return await sendGridService.sendNotification("user.password_reset", data, null); } exports.default = userHandler; exports.config = { event: "user.password_reset", context: { subscriberId: "user-handler-notification", }, }; //# sourceMappingURL=user.js.map