0

I want to update the user name, address, contact# of a certain user without updating the password and other attributes of a object/record.

Ch Asjad
  • 1
  • 2

1 Answers1

0

you can simply do it with following way:-

this.userRepository.updateById(id, member); 

where member is Member type object.

const member: Partial<Member> = {
  name: 'Test Name'
}
Manish Balodia
  • 1,863
  • 2
  • 23
  • 37