1 parent
e6b9d4f273
commit
3f7b0f6563
19 files changed
+20
-20
No files matched your search
@@ -78,7 +78,7 @@ export class DonorController {
|
||||
throw new DonorIdsNotMatchingError();
|
||||
}
|
||||
|
||||
await this.donorRepository.save(await donor.updateDonor(oldDonor));
|
||||
await this.donorRepository.save(await donor.update(oldDonor));
|
||||
return new ResponseDonor(await this.donorRepository.findOne({ id: id }));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user