feat: init score in organization (#1388)

* feat: init score in organization

* Update OrganizationEditPage.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
This commit is contained in:
Yaodong Yu
2022-12-10 22:27:12 +08:00
committed by GitHub
parent e3c36beaf4
commit a51f0d7c08
14 changed files with 36 additions and 6 deletions

View File

@ -161,7 +161,7 @@ func (c *ApiController) Signup() {
username = id
}
initScore, err := getInitScore()
initScore, err := getInitScore(organization)
if err != nil {
c.ResponseError(fmt.Errorf(c.T("account:Get init score failed, error: %w"), err).Error())
return