1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: properly sort durations to prevent heartbeats from being counted twice

This commit is contained in:
Ferdinand Mütsch
2021-12-26 13:21:40 +01:00
parent acf16421a6
commit 148f581906
4 changed files with 6 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ type IMailService interface {
}
type IDurationService interface {
Get(time.Time, time.Time, *models.User) ([]*models.Duration, error)
Get(time.Time, time.Time, *models.User) (models.Durations, error)
}
type ISummaryService interface {