Skip to content

Commit

Permalink
fix: switch sort order in DefaultAddWebhookSubscriptionUseCase
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwwinter committed Mar 14, 2024
1 parent 2d4b05e commit 755cff3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DefaultAddWebhookSubscriptionUseCase(
report = report,
webhook = webhook,
reportCalculation = DomainReference(
calculations.sortedBy { it.endDate }.first().id
calculations.sortedByDescending { it.endDate }.first().id
)
)
Mono.just(Unit)
Expand Down

0 comments on commit 755cff3

Please sign in to comment.