Update find-tenant-result-dto.ts

pull/4956/head
Levent Arman Özak 5 years ago committed by GitHub
parent 5e97c31ce9
commit e73ceb766f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,11 +5,9 @@ export class FindTenantResultDto {
name: string;
constructor(initialValues: Partial<FindTenantResultDto> = {}) {
if (initialValues) {
for (const key in initialValues) {
if (initialValues.hasOwnProperty(key)) {
this[key] = initialValues[key];
}
for (const key in initialValues) {
if (initialValues.hasOwnProperty(key)) {
this[key] = initialValues[key];
}
}
}

Loading…
Cancel
Save