fix(ticket_service): update user retrieval to use UserRepository

This commit is contained in:
mlogclub
2026-04-28 19:55:53 +08:00
parent b4d2e3a52d
commit bfc9b317dc
+1 -1
View File
@@ -1261,7 +1261,7 @@ func (s *ticketService) AddInternalNote(req request.InternalNoteRequest, operato
if userID <= 0 || userID == operator.UserID {
continue
}
if user := UserService.Get(userID); user != nil {
if user := repositories.UserRepository.Get(ctx.Tx, userID); user != nil {
name := user.Nickname
if name == "" {
name = user.Username