mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-25 13:49:40 +00:00
feat: handle new registration flow
This commit is contained in:
@ -11,8 +11,7 @@ export class UserRepository {
|
||||
createUnverifiedUser(data: Partial<User>) {
|
||||
return this.userRepository.save(
|
||||
this.userRepository.create({
|
||||
phoneNumber: data.phoneNumber,
|
||||
countryCode: data.countryCode,
|
||||
email: data.email,
|
||||
roles: data.roles,
|
||||
}),
|
||||
);
|
||||
|
Reference in New Issue
Block a user