From 0546f6acd5b8f02060d80872228375544368452f Mon Sep 17 00:00:00 2001 From: backdev-1 Date: Wed, 13 May 2026 07:59:28 +0700 Subject: [PATCH] dev add user info method by id --- src/main/java/ru/soune/nocopy/handler/ViolationHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ru/soune/nocopy/handler/ViolationHandler.java b/src/main/java/ru/soune/nocopy/handler/ViolationHandler.java index 7958b69..c61c382 100644 --- a/src/main/java/ru/soune/nocopy/handler/ViolationHandler.java +++ b/src/main/java/ru/soune/nocopy/handler/ViolationHandler.java @@ -70,7 +70,7 @@ public class ViolationHandler implements RequestHandler { if (!Objects.equals(file.getUserId(), userId)) { return BaseResponse.builder() .messageCode(MessageCode.USER_NOT_HAD_PERMISSION.getCode()) - .messageCode(MessageCode.USER_NOT_HAD_PERMISSION.getCode()) + .messageDesc(MessageCode.USER_NOT_HAD_PERMISSION.getDescription()) .msgId(request.getMsgId()) .messageBody(Map.of("user_id", userId)) .build();