mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 01:32:06 +10:00
13 lines
361 B
TypeScript
13 lines
361 B
TypeScript
import { sendResetPassword } from '../../../server-only/auth/send-reset-password';
|
|
import type { TSendPasswordResetSuccessEmailJobDefinition } from './send-password-reset-success-email';
|
|
|
|
export const run = async ({
|
|
payload,
|
|
}: {
|
|
payload: TSendPasswordResetSuccessEmailJobDefinition;
|
|
}) => {
|
|
await sendResetPassword({
|
|
userId: payload.userId,
|
|
});
|
|
};
|