From 1d5797fe680f97250023d7058bedc749a62c4707 Mon Sep 17 00:00:00 2001 From: ssongliu Date: Fri, 31 Mar 2023 17:21:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E5=91=A8=E6=9C=9F=E6=9B=B4=E6=96=B0=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/cornjob.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/service/cornjob.go b/backend/app/service/cornjob.go index e601d809a..53b7f65d0 100644 --- a/backend/app/service/cornjob.go +++ b/backend/app/service/cornjob.go @@ -194,6 +194,7 @@ func (u *CronjobService) Update(id uint, req dto.CronjobUpdate) error { upMap := make(map[string]interface{}) upMap["entry_id"] = newEntryID upMap["name"] = req.Name + upMap["spec"] = cronjob.Spec upMap["script"] = req.Script upMap["spec_type"] = req.SpecType upMap["week"] = req.Week