Reenabled addresses in org responses
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/pr Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/pr Build is passing
				
			ref #68
This commit is contained in:
		@@ -1,7 +1,8 @@
 | 
			
		||||
import {
 | 
			
		||||
    IsArray,
 | 
			
		||||
    IsNotEmpty,
 | 
			
		||||
    IsObject
 | 
			
		||||
 | 
			
		||||
    IsObject,
 | 
			
		||||
    IsOptional
 | 
			
		||||
} from "class-validator";
 | 
			
		||||
import { Address } from '../entities/Address';
 | 
			
		||||
import { RunnerOrganisation } from '../entities/RunnerOrganisation';
 | 
			
		||||
@@ -17,7 +18,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
 | 
			
		||||
     * The runnerOrganisation's address.
 | 
			
		||||
     */
 | 
			
		||||
    @IsObject()
 | 
			
		||||
    @IsNotEmpty()
 | 
			
		||||
    @IsOptional()
 | 
			
		||||
    address?: Address;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
@@ -32,7 +33,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
 | 
			
		||||
     */
 | 
			
		||||
    public constructor(org: RunnerOrganisation) {
 | 
			
		||||
        super(org);
 | 
			
		||||
        // this.address = org.address;
 | 
			
		||||
        this.address = org.address;
 | 
			
		||||
        this.teams = org.teams;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user