Integrate RestaurantsModule into AdminModule; enhance AdminRepository to find admins by phone and restaurant slug using AdminRole; update AuthService to throw specific exception message when admin not found; correct last name in DatabaseSeeder for consistency.
This commit is contained in:
@@ -440,7 +440,7 @@ export class DatabaseSeeder extends Seeder {
|
||||
const admin = em.create(Admin, {
|
||||
phone: '09185290775',
|
||||
firstName: 'حمید',
|
||||
lastName: 'زرگامی',
|
||||
lastName: 'ضرقامی',
|
||||
});
|
||||
em.persist(admin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user