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

refactor: resolve project labels at runtime (resolve #227)

This commit is contained in:
Ferdinand Mütsch
2021-08-06 16:21:50 +02:00
parent fecc8b3b5f
commit 0af5fab75f
6 changed files with 53 additions and 5 deletions

View File

@@ -94,6 +94,7 @@ func (srv *SummaryService) Retrieve(from, to time.Time, user *models.User) (*mod
if err != nil {
return nil, err
}
summary = srv.withProjectLabels(summary)
return summary.Sorted(), nil
}