Skip to content

Commit 6369056

Browse files
committed
feat(siteinfo): fix GetSiteTag method to correctly assign response from siteInfoCommonService
1 parent 128c44f commit 6369056

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/service/siteinfo/siteinfo_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func (s *SiteInfoService) GetSiteUsers(ctx context.Context) (resp *schema.SiteUs
111111
// GetSiteTag get site info write
112112
func (s *SiteInfoService) GetSiteTag(ctx context.Context) (resp *schema.SiteTagsResp, err error) {
113113
resp = &schema.SiteTagsResp{}
114-
_, err = s.siteInfoCommonService.GetSiteTag(ctx)
114+
resp, err = s.siteInfoCommonService.GetSiteTag(ctx)
115115
if err != nil {
116116
log.Error(err)
117117
return resp, nil

0 commit comments

Comments
 (0)