Skip to content

Commit

Permalink
remove the customer profile image (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: NHT <[email protected]>
  • Loading branch information
nfesta2023 and hoangtuan910 authored Mar 11, 2024
1 parent 9929df8 commit 887d657
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/feature/customer/customer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ export class CustomerService {
customer.email = email;
customer.birthday = birthday;
customer.sex = sex;
customer.profile_image = await this.mediaRepo.findOneBy({
type: 'image',
name: 'default_logo_image',
});
// customer.profile_image = await this.mediaRepo.findOneBy({
// type: 'image',
// name: 'default_logo_image',
// });
customer.is_active = 1;
customer.health_info = createdHealInfo;
const upatedCustomer = await this.customerRepo.save(customer);
Expand Down

0 comments on commit 887d657

Please sign in to comment.