remove api config,

This commit is contained in:
Miroslav Šedivý
2022-08-03 22:40:47 +02:00
parent 427d350e3d
commit 8f6e6d5241
4 changed files with 1 additions and 31 deletions
+1 -4
View File
@@ -5,7 +5,6 @@ import (
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/m1k1o/neko-rooms/internal/config"
"github.com/m1k1o/neko-rooms/internal/types"
)
@@ -13,15 +12,13 @@ type ApiManagerCtx struct {
logger zerolog.Logger
rooms types.RoomManager
pull types.PullManager
conf *config.API
}
func New(rooms types.RoomManager, pull types.PullManager, conf *config.API) *ApiManagerCtx {
func New(rooms types.RoomManager, pull types.PullManager) *ApiManagerCtx {
return &ApiManagerCtx{
logger: log.With().Str("module", "api").Logger(),
rooms: rooms,
pull: pull,
conf: conf,
}
}