소스 검색

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

Matheus Marques Polillo 1 년 전
부모
커밋
c948a28175
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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())
 }