- removed tags preset from controller

This commit is contained in:
naudachu 2023-11-24 14:58:44 +05:00
parent b50d98d961
commit afbf89b013
1 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import (
"ticket-pimp/internal/domain"
"ticket-pimp/internal/storage/db"
"github.com/bwmarrin/discordgo"
"github.com/jackc/pgx/v5/pgxpool"
)
@ -15,7 +14,7 @@ type WorkflowController struct {
ICoda adapters.ICoda
pool *pgxpool.Pool
q *db.Queries
ATags []discordgo.ForumTag
conf *domain.Config
}
func NewWorkflowController(
@ -23,6 +22,7 @@ func NewWorkflowController(
cloud adapters.ICloud,
coda adapters.ICoda,
pool *pgxpool.Pool,
conf *domain.Config,
) *WorkflowController {
return &WorkflowController{
IGit: git,
@ -30,6 +30,7 @@ func NewWorkflowController(
ICoda: coda,
pool: pool,
q: db.New(pool),
conf: conf,
}
}