This commit is contained in:
AdisakKanthawilang 2024-11-20 15:07:17 +07:00
parent 854785434f
commit 6abb33ccff

View file

@ -1927,12 +1927,12 @@ export class ProfileController extends Controller {
email: string; email: string;
}, },
) { ) {
const profile = await this.profileRepo.findOne({ // const profile = await this.profileRepo.findOne({
where:{ // where:{
id: body.profileId, // id: body.profileId,
email: body.email // email: body.email
} // }
}); // });
} }