feat: improve error messages

This commit is contained in:
Yang Luo
2024-02-16 01:13:34 +08:00
parent eaa6f50085
commit 7f52755e32
3 changed files with 7 additions and 7 deletions

View File

@ -204,7 +204,7 @@ func (c *ApiController) GetUser() {
return
}
if organization == nil {
c.ResponseError(fmt.Sprintf("the organization: %s is not found", owner))
c.ResponseError(fmt.Sprintf(c.T("auth:The organization: %s does not exist"), owner))
return
}