cleanup(ApPersonService.ts): deadcode
				
					
				
			This commit is contained in:
		| @@ -135,10 +135,6 @@ export class ApPersonService implements OnModuleInit { | |||||||
| 	private validateActor(x: IObject, uri: string): IActor { | 	private validateActor(x: IObject, uri: string): IActor { | ||||||
| 		const expectHost = this.punyHost(uri); | 		const expectHost = this.punyHost(uri); | ||||||
|  |  | ||||||
| 		if (x == null) { |  | ||||||
| 			throw new Error('invalid Actor: object is null'); |  | ||||||
| 		} |  | ||||||
|  |  | ||||||
| 		if (!isActor(x)) { | 		if (!isActor(x)) { | ||||||
| 			throw new Error(`invalid Actor type '${x.type}'`); | 			throw new Error(`invalid Actor type '${x.type}'`); | ||||||
| 		} | 		} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 okayurisotto
					okayurisotto