fix: cfg access
This commit is contained in:
@ -21,9 +21,10 @@ type AuthHandler struct {
|
||||
cfg *config.AppConfig
|
||||
}
|
||||
|
||||
func NewAuthHandler(repo *repository.Queries) *AuthHandler {
|
||||
func NewAuthHandler(repo *repository.Queries, cfg *config.AppConfig) *AuthHandler {
|
||||
return &AuthHandler{
|
||||
repo: repo,
|
||||
repo,
|
||||
cfg,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user