1 parent
98d6a1cc64
commit
420e9c4662
1 file changed
+1
-1
@@ -29,7 +29,7 @@ export class UpdateRunnerOrganisation extends CreateRunnerGroup {
|
|||||||
*/
|
*/
|
||||||
public async getAddress(): Promise<Address> {
|
public async getAddress(): Promise<Address> {
|
||||||
if (!this.address) { return null; }
|
if (!this.address) { return null; }
|
||||||
let address = await getConnectionManager().get().getRepository(Address).findOne({ id: this.address.id });
|
let address = await getConnectionManager().get().getRepository(Address).findOne({ id: this.address });
|
||||||
if (!address) { throw new AddressNotFoundError; }
|
if (!address) { throw new AddressNotFoundError; }
|
||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user