Use util.GetId()

This commit is contained in:
Yang Luo
2023-05-19 14:26:32 +08:00
parent de73ff0e60
commit 79bd58e0e6
8 changed files with 11 additions and 14 deletions

View File

@ -84,7 +84,7 @@ func (c *ApiController) Signup() {
return
}
organization := object.GetOrganization(fmt.Sprintf("%s/%s", "admin", authForm.Organization))
organization := object.GetOrganization(util.GetId("admin", authForm.Organization))
msg := object.CheckUserSignup(application, organization, &authForm, c.GetAcceptLanguage())
if msg != "" {
c.ResponseError(msg)