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:
2025-11-19 00:00:48 +03:30
parent fdaa8b3dfd
commit e620dd6e04
4 changed files with 27 additions and 8 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ export class DatabaseSeeder extends Seeder {
const admin = em.create(Admin, {
phone: '09185290775',
firstName: 'حمید',
lastName: 'زرگامی',
lastName: 'ضرقامی',
});
em.persist(admin);