Ver código fonte

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

Matheus Marques Polillo 1 ano atrás
pai
commit
c948a28175
1 arquivos alterados com 2 adições e 2 exclusões
  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",
 		Short: "Authentication&Authorization",
 	}
-
 	rootCmd.AddCommand(authCmd)
-	authenticationController := cliController.AuthenticationController{}
+
+	authenticationController := cliController.AuthController{}
 	authCmd.AddCommand(authenticationController.Login())
 }