Switched the create classes over to the new address implementation
ref #105
This commit is contained in:
@@ -26,8 +26,8 @@ export class CreateDonor extends CreateParticipant {
|
||||
newDonor.lastname = this.lastname;
|
||||
newDonor.phone = this.phone;
|
||||
newDonor.email = this.email;
|
||||
newDonor.address = await this.getAddress();
|
||||
newDonor.receiptNeeded = this.receiptNeeded;
|
||||
newDonor.address = this.address;
|
||||
|
||||
if (this.receiptNeeded == true && this.address == null) {
|
||||
throw new DonorReceiptAddressNeededError()
|
||||
|
||||
Reference in New Issue
Block a user