Fix avatar upload.

This commit is contained in:
Yang Luo
2021-08-06 23:03:01 +08:00
parent 8ea906a132
commit af3def97bf
6 changed files with 64 additions and 46 deletions

View File

@ -43,7 +43,7 @@ func (c *ApiController) SendEmail() {
provider := app.GetEmailProvider()
if provider == nil {
c.ResponseError("No Email provider for this application.")
c.ResponseError("No Email provider is found")
return
}
@ -112,7 +112,7 @@ func (c *ApiController) SendSms() {
provider := app.GetSmsProvider()
if provider == nil {
c.ResponseError("No SMS provider for this application.")
c.ResponseError("No SMS provider is found")
return
}