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

This commit is contained in:
BanTanger 2023-07-13 16:27:44 +08:00
parent 1c1c52dd0c
commit 17102988dc

View File

@ -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
}