Browse Source

refact: adapt Authentication routes in CLI router to use new Authentication CLI controller constructor with service layer implemented

Matheus Marques Polillo 1 year ago
parent
commit
c948a28175
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/presentation/cli/router.go

+ 2 - 2
src/presentation/cli/router.go

@@ -51,9 +51,9 @@ func (router Router) authenticationRoutes() {
 		Use:   "auth",
 		Use:   "auth",
 		Short: "Authentication&Authorization",
 		Short: "Authentication&Authorization",
 	}
 	}
-
 	rootCmd.AddCommand(authCmd)
 	rootCmd.AddCommand(authCmd)
-	authenticationController := cliController.AuthenticationController{}
+
+	authenticationController := cliController.AuthController{}
 	authCmd.AddCommand(authenticationController.Login())
 	authCmd.AddCommand(authenticationController.Login())
 }
 }