Skip to content

Commit

Permalink
Merge ced6d53 into 33e1e86
Browse files Browse the repository at this point in the history
  • Loading branch information
beknazaresenbek authored Aug 28, 2023
2 parents 33e1e86 + ced6d53 commit 6ecb520
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,8 @@ private VCRequest getVCRequest(String vcType, ProofType proofType, UserModel use
optionalMinExpiry
.map(minExpiry -> Clock.systemUTC()
.instant()
.plus(Duration.of(minExpiry, ChronoUnit.MINUTES)))
.plus(Duration.of(minExpiry, ChronoUnit.MINUTES))
.truncatedTo(ChronoUnit.MILLIS))
.map(FORMATTER::format)
.ifPresent(vcConfigBuilder::expirationDate);

Expand Down

0 comments on commit 6ecb520

Please sign in to comment.