Merge branch 'feature-streamer_nick_audit-wxy-20241209' into test

This commit is contained in:
wangxinyu 2024-12-18 16:55:37 +08:00
commit 853a368fd1
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ func (s *Service) ApiUpdateAccount(ctx *gin.Context, req *accountproto.ApiUpdate
opUpdateReq.NewName = goproto.String(req.Account.GetName())
auditStatus := s.SetAuditStatusBitMap(oldAccount.GetAuditStatus(), consts.StreamNikeAudit, consts.StreamerNikeNameAuditing)
opUpdateReq.AuditStatus = goproto.Int64(auditStatus)
} else if oldAccount.GetName() != req.Account.GetName() && req.Account.GetNewName() != "" {
} else if oldAccount.GetName() != req.Account.GetName() && req.Account.GetName() != "" {
opUpdateReq.Name = goproto.String(req.Account.GetName())
}