Skip to content

Commit

Permalink
fix syntax error (only IDE compile)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-QuanLeA committed Jan 6, 2025
1 parent d7722fc commit ca871a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SELECT MAX(ce.slot) as maxSlotNo
Optional<Long> maxSlotNo();

@Query("""
SELECT new org.cardanofoundation.ledgersync.govoffchainscheduler.dto.anchor.ConstitutionAnchorDTO(ce.anchorUrl, ce.anchorHash, ce.slot, ce.id, 0)
SELECT new org.cardanofoundation.ledgersync.govoffchainscheduler.dto.anchor.ConstitutionAnchorDTO(ce.anchorUrl, ce.anchorHash, ce.slot, ce.activeEpoch, 0)
FROM ConstitutionEntity ce
WHERE ce.slot >= :fromSlot and ce.slot <= :toSlot
AND ce.anchorUrl IS NOT NULL
Expand Down

0 comments on commit ca871a9

Please sign in to comment.