Skip to content

Commit

Permalink
Change approval profile DTOs expiry to nullable type (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomirw authored Aug 10, 2023
1 parent 421c098 commit 19f5f84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ApprovalProfileDto {
@Schema(description = "Expiration of the Approval profile in hours",
example = "30",
requiredMode = Schema.RequiredMode.NOT_REQUIRED)
private int expiry;
private Integer expiry;

@Schema(description = "Number of the Approval profile steps",
example = "2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class ApprovalProfileRequestDto {
@Schema(description = "Expiration of the Approval profile in hours",
example = "30",
requiredMode = Schema.RequiredMode.NOT_REQUIRED)
private int expiry;
private Integer expiry;

@Schema(description = "List of Approval steps for the Approval profile",
requiredMode = Schema.RequiredMode.REQUIRED)
Expand Down

0 comments on commit 19f5f84

Please sign in to comment.