aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/main.go b/main.go
index ab4aee9..797ebea 100644
--- a/main.go
+++ b/main.go
@@ -74,8 +74,7 @@ func run() error {
return err
}
- // checking chroma configurationo
-
+ // checking chroma configuration
if _, ok := styles.Registry[configRepo.GetSyntaxHighlight()]; !ok {
slog.Warn(
"Invalid Syntax highlight selected",
@@ -87,8 +86,13 @@ func run() error {
// services
gitService := service.NewGitService(configRepo)
+ authService := service.NewAuthService(configRepo)
- handler, err := handler.MountHandler(gitService, configRepo)
+ handler, err := handler.MountHandler(
+ gitService,
+ authService,
+ configRepo,
+ )
if err != nil {
return err
}