gaodm 3 năm trước cách đây
mục cha
commit
135c134ac3

+ 1 - 1
cdssman-service/src/main/java/com/diagbot/exception/ServiceErrorCode.java

@@ -30,7 +30,7 @@ public enum ServiceErrorCode implements ErrorCode {
 
     public static ServiceErrorCode codeOf(String code) {
         for (ServiceErrorCode state : values()) {
-            if (state.getCode() == code) {
+            if (state.getCode().equals(code)) {
                 return state;
             }
         }