This is an automated email from the ASF dual-hosted git repository.

kumfo pushed a commit to branch feat/1.8.0/menu
in repository https://gitbox.apache.org/repos/asf/answer.git


The following commit(s) were added to refs/heads/feat/1.8.0/menu by this push:
     new 0bb33e7e feat(siteinfo): fix GetSiteTag method to correctly assign 
response from siteInfoCommonService
0bb33e7e is described below

commit 0bb33e7ea43abbe80138942fc6ccef9c551016a7
Author: kumfo <[email protected]>
AuthorDate: Wed Jan 21 17:21:28 2026 +0800

    feat(siteinfo): fix GetSiteTag method to correctly assign response from 
siteInfoCommonService
---
 internal/service/siteinfo/siteinfo_service.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/service/siteinfo/siteinfo_service.go 
b/internal/service/siteinfo/siteinfo_service.go
index d374008c..acd5baed 100644
--- a/internal/service/siteinfo/siteinfo_service.go
+++ b/internal/service/siteinfo/siteinfo_service.go
@@ -111,7 +111,7 @@ func (s *SiteInfoService) GetSiteUsers(ctx context.Context) 
(resp *schema.SiteUs
 // GetSiteTag get site info write
 func (s *SiteInfoService) GetSiteTag(ctx context.Context) (resp 
*schema.SiteTagsResp, err error) {
        resp = &schema.SiteTagsResp{}
-       _, err = s.siteInfoCommonService.GetSiteTag(ctx)
+       resp, err = s.siteInfoCommonService.GetSiteTag(ctx)
        if err != nil {
                log.Error(err)
                return resp, nil

Reply via email to