fix: changing naming irregularities under pkg and internal packages, #520

pull/536/head
BanTanger 2 years ago
parent 1c1c52dd0c
commit 17102988dc

@ -235,7 +235,7 @@ func (m *MessageApi) ManagementBatchSendMsg(c *gin.Context) {
apiresp.GinError(c, errs.ErrArgs.WithDetail(err.Error()).Wrap())
return
}
if !tokenverify.IsAppManagerUid(c) {
if !tokenverify.IsAppManagerUID(c) {
apiresp.GinError(c, errs.ErrNoPermission.Wrap("only app manager can send message"))
return
}

Loading…
Cancel
Save