From 5d1fced8e96066263e7dc4fc69c6036ecedda065 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Thu, 23 Mar 2023 12:14:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BD=91=E7=AB=99=E5=88=86=E7=BB=84?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=A0=A1=E9=AA=8C=20(#377)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/group.go b/backend/app/service/group.go index bf35da726..25921d74b 100644 --- a/backend/app/service/group.go +++ b/backend/app/service/group.go @@ -58,7 +58,7 @@ func (u *GroupService) Delete(id uint) error { } switch group.Type { case "website": - websites, _ := websiteRepo.GetBy(commonRepo.WithByGroupID(id)) + websites, _ := websiteRepo.GetBy(websiteRepo.WithGroupID(id)) if len(websites) > 0 { return buserr.New(constant.ErrGroupIsUsed) }