Skip to content

Commit f1ba5c2

Browse files
authored
fix: fix the error (#1653)
1 parent 11108e1 commit f1ba5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/rpc/user/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ func (s *userServer) userModelToResp(users []*relation.UserModel) *pbuser.Search
558558
accounts := make([]*pbuser.NotificationAccountInfo, 0)
559559
var total int64
560560
for _, v := range users {
561-
if v.AppMangerLevel == constant.AppNotificationAdmin || v.AppMangerLevel == constant.AppAdmin {
561+
if v.AppMangerLevel == constant.AppNotificationAdmin {
562562
temp := &pbuser.NotificationAccountInfo{
563563
UserID: v.UserID,
564564
FaceURL: v.FaceURL,

0 commit comments

Comments
 (0)