From 336f54ff497e4f0db894591f44768a1740810fc8 Mon Sep 17 00:00:00 2001 From: LinkinStars Date: Sun, 16 Apr 2023 12:42:45 +0800 Subject: [PATCH] fix(siteinfo): rename GetSiteInfoByType --- internal/service/siteinfo_common/siteinfo_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/siteinfo_common/siteinfo_service.go b/internal/service/siteinfo_common/siteinfo_service.go index 755a48f9..7e2934a3 100644 --- a/internal/service/siteinfo_common/siteinfo_service.go +++ b/internal/service/siteinfo_common/siteinfo_service.go @@ -70,7 +70,7 @@ func (s *SiteInfoCommonService) GetSiteBranding(ctx context.Context) (resp *sche // GetSiteUsers get site info about users func (s *SiteInfoCommonService) GetSiteUsers(ctx context.Context) (resp *schema.SiteUsersResp, err error) { resp = &schema.SiteUsersResp{} - if err = s.getSiteInfoByType(ctx, constant.SiteTypeUsers, resp); err != nil { + if err = s.GetSiteInfoByType(ctx, constant.SiteTypeUsers, resp); err != nil { return nil, err } return resp, nil