fix(eslint): updated schema.prisma and did checks on abstract-user.service.ts typing for unsafe arguments.
This commit is contained in:
parent
fd120f9017
commit
99df3f8a15
File diff suppressed because one or more lines are too long
|
|
@ -348,6 +348,8 @@ enum Modules {
|
||||||
employee_management
|
employee_management
|
||||||
personal_profile
|
personal_profile
|
||||||
dashboard
|
dashboard
|
||||||
|
ticket
|
||||||
|
ticket_management
|
||||||
chatbot
|
chatbot
|
||||||
|
|
||||||
@@map("modules")
|
@@map("modules")
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ export abstract class AbstractUserService {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
if (!user) {
|
if (!user) {
|
||||||
throw new NotFoundException(`No user with email #${email} exists`);
|
throw new NotFoundException(`No user with email #${email} exists`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user