Skip to content

Commit

Permalink
update naming and make method private
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignas-rgb committed Jun 7, 2024
1 parent 986b934 commit f88d3bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/admin/admin.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class AdminService {
}
}

async sendTransferRequest(
private async sendTransferRequest(
transferReportDto: TransferReportDto,
): Promise<AxiosResponse | null> {
let returnValue = null;
Expand Down
12 changes: 6 additions & 6 deletions src/admin/dto/full-report.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ export class FullReportDto {
email: string;

@ApiProperty()
controle: string;
inspection: string;

@ApiProperty()
controleId: string;
inspectionId: string;

@ApiProperty()
@ToBoolean()
Expand Down Expand Up @@ -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,
Expand All @@ -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;
Expand Down

0 comments on commit f88d3bb

Please sign in to comment.