fix: expose complete dataset period catalog

This commit is contained in:
2026-08-20 22:28:07 +03:30
parent d6de48fd15
commit 6523e90a03
8 changed files with 140 additions and 72 deletions

View File

@@ -74,7 +74,7 @@ func (s *Service) Periods(ctx context.Context) ([]Period, error) {
if err != nil {
return nil, fmt.Errorf("loading tehran timezone: %w", err)
}
return latestCompletePeriods(start, end, location), nil
return completePeriods(start, end, location), nil
}
func (s *Service) Start(ctx context.Context, merchantID int64, period Period, terminalID string) (Run, error) {