From 84f4ecf7be43857a12613b432efa26ca52ebaf38 Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 27 Sep 2022 10:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=B8=8B=E8=BD=BD=E9=89=B4?= =?UTF-8?q?=E6=9D=83=EF=BC=8C=E5=8F=AA=E8=83=BD=E4=BD=9C=E8=80=85=E5=8F=8A?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/api/v1/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index ff029707b..f430460f6 100755 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -980,7 +980,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Get("", repo.GetModelArtsTrainJobVersion) m.Post("/stop_version", cloudbrain.AdminOrOwnerOrJobCreaterRightForTrain, repo_ext.GrampusStopJob) m.Get("/log", repo_ext.GrampusGetLog) - m.Get("/download_log", cloudbrain.AdminOrOwnerOrJobCreaterRightForTrain, repo_ext.GrampusDownloadLog) + m.Get("/download_log", cloudbrain.AdminOrJobCreaterRightForTrain, repo_ext.GrampusDownloadLog) }) }) }, reqRepoReader(models.UnitTypeCloudBrain))