Skip to content

Commit

Permalink
Update DownloadStatsInterface.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams authored Aug 23, 2023
1 parent c8d4b39 commit 157b8c6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ class DownloadStatsInterface {
// need +1 as for a diff you need num days +1 from db
(days ?: 30) + 1
}

val daysSince = (days ?: 30) + 1

val statsSource = source ?: StatsSource.all
val periodEnd = to ?: TimeSource.now()

Expand Down

0 comments on commit 157b8c6

Please sign in to comment.