Skip to content

Commit

Permalink
chore: add poolId or stakeAddress into ReportMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-ThinhVu committed Apr 25, 2024
1 parent 67d7646 commit 8146ad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public Boolean create(
.timePattern(poolReportCreateRequest.getTimePattern())
.zoneOffset(poolReportCreateRequest.getZoneOffset())
.dateFormat(poolReportCreateRequest.getDateFormat())
.poolId(poolReportCreateRequest.getPoolId())
.build();

Boolean isSuccess = kafkaService.sendReportHistory(reportMessage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public StakeKeyReportHistoryResponse generateStakeKeyReport(
.timePattern(stakeKeyReportRequest.getTimePattern())
.zoneOffset(stakeKeyReportRequest.getZoneOffset())
.dateFormat(stakeKeyReportRequest.getDateFormat())
.stakeAddress(stakeKeyReportRequest.getStakeKey())
.build();

Boolean isSuccess = kafkaService.sendReportHistory(reportMessage);
Expand Down

0 comments on commit 8146ad7

Please sign in to comment.