feat: update customer profile picture and notifications settings

This commit is contained in:
Abdalhamid Alhamad
2024-12-12 13:15:47 +03:00
parent 4867a5f858
commit 51fa61dbc6
28 changed files with 150 additions and 135 deletions

View File

@ -3,6 +3,7 @@ import { Transactional } from 'typeorm-transactional';
import { Roles } from '~/auth/enums';
import { UserService } from '~/auth/services';
import { PageOptionsRequestDto } from '~/core/dtos';
import { CustomerNotificationSettings } from '~/customer/entities/customer-notification-settings.entity';
import { CustomerService } from '~/customer/services';
import { CreateJuniorRequestDto, SetThemeRequestDto } from '../dtos/request';
import { Junior } from '../entities';
@ -43,6 +44,7 @@ export class JuniorService {
civilIdFrontId: body.civilIdFrontId,
civilIdBackId: body.civilIdBackId,
}),
notificationSettings: new CustomerNotificationSettings(),
},
user,
);