Skip to content

Commit

Permalink
CIRC-2077 fix empty token in notice
Browse files Browse the repository at this point in the history
 Template token feeCharge.chargeDate always empty in reminder fee notices

(cherry picked from commit 1044a64)
  • Loading branch information
nielserik committed Apr 23, 2024
1 parent 6baba82 commit 26d079d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private CompletableFuture<Result<ScheduledNoticeContext>> persistAccount(Schedul
return ofAsync(() -> context);
}
return accountsStorageClient.post(context.getAccount().toJson())
.thenApply(r -> Result.succeeded(context));
.thenApply(r -> Result.succeeded(context.withAccount(Account.from(r.value().getJson()))));
}

private CompletableFuture<Result<ScheduledNoticeContext>> createFeeFineAction(ScheduledNoticeContext context) {
Expand Down

0 comments on commit 26d079d

Please sign in to comment.