Made mobile register and verify otp and submit personal info apis and added interest type images in the seeder
This commit is contained in:
@@ -296,7 +296,7 @@ export class HostService {
|
||||
|
||||
async verifyHostOtp(email: string, otp: string): Promise<boolean> {
|
||||
const user = await this.prisma.user.findUnique({
|
||||
where: { emailAddress: email },
|
||||
where: { emailAddress: email, isActive: true },
|
||||
select: {
|
||||
id: true,
|
||||
emailAddress: true,
|
||||
|
||||
Reference in New Issue
Block a user