mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 04:53:41 +00:00
fix(api): passwordReset jwt plain object
This commit is contained in:
parent
f882943eec
commit
d6be5e959c
@ -56,7 +56,7 @@ export class PasswordResetService {
|
|||||||
if (!user) {
|
if (!user) {
|
||||||
throw new NotFoundException('User not found');
|
throw new NotFoundException('User not found');
|
||||||
}
|
}
|
||||||
const jwt = await this.sign(dto);
|
const jwt = await this.sign({ ...dto });
|
||||||
|
|
||||||
if (this.mailerService) {
|
if (this.mailerService) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user