mirror of https://gitee.com/answerdev/answer.git
fix(siteinfo): rename GetSiteInfoByType
This commit is contained in:
parent
a5a3664f90
commit
336f54ff49
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue