diff --git a/src/admin/admin.service.ts b/src/admin/admin.service.ts index 8edb422..5c69c6f 100644 --- a/src/admin/admin.service.ts +++ b/src/admin/admin.service.ts @@ -165,7 +165,7 @@ export class AdminService { } } - async sendTransferRequest( + private async sendTransferRequest( transferReportDto: TransferReportDto, ): Promise { let returnValue = null; diff --git a/src/admin/dto/full-report.dto.ts b/src/admin/dto/full-report.dto.ts index c303395..bb50705 100644 --- a/src/admin/dto/full-report.dto.ts +++ b/src/admin/dto/full-report.dto.ts @@ -27,10 +27,10 @@ export class FullReportDto { email: string; @ApiProperty() - controle: string; + inspection: string; @ApiProperty() - controleId: string; + inspectionId: string; @ApiProperty() @ToBoolean() @@ -73,8 +73,8 @@ export class FullReportDto { longitude: number, latitude: number, email: string, - controle: string, - controleId: string, + inspection: string, + inspectionId: string, isVisible: boolean, isDeleted: boolean, isTransferred: boolean, @@ -93,8 +93,8 @@ export class FullReportDto { this.longitude = longitude; this.latitude = latitude; this.email = email; - this.controle = controle; - this.controleId = controleId; + this.inspection = inspection; + this.inspectionId = inspectionId; this.isVisible = isVisible; this.isDeleted = isDeleted; this.isTransferred = isTransferred;