mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
feat: set html base path from server base path
refactor: services
This commit is contained in:
@ -24,10 +24,10 @@ type SummaryHandler struct {
|
||||
config *models.Config
|
||||
}
|
||||
|
||||
func NewSummaryHandler(config *models.Config, summaryService *services.SummaryService) *SummaryHandler {
|
||||
func NewSummaryHandler(summaryService *services.SummaryService) *SummaryHandler {
|
||||
return &SummaryHandler{
|
||||
cummarySrvc: summaryService,
|
||||
config: config,
|
||||
config: models.GetConfig(),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user