diff --git a/src/main/java/com/kri/notihub/server/common/external/pringo/dto/PringoJsonSendResponseDto.java b/src/main/java/com/kri/notihub/server/common/external/pringo/dto/PringoJsonSendResponseDto.java index a7a059f..63d268f 100644 --- a/src/main/java/com/kri/notihub/server/common/external/pringo/dto/PringoJsonSendResponseDto.java +++ b/src/main/java/com/kri/notihub/server/common/external/pringo/dto/PringoJsonSendResponseDto.java @@ -14,7 +14,7 @@ public class PringoJsonSendResponseDto { private String typeAlias; /** - * 성공: 1 실패: "-1" (API가 숫자/문자 둘 다 줄 수 있으니 String으로 받는 편이 안전) + * Success: 1, failure: -1. Keep String because the API can return numeric or string values. */ @JsonProperty("result") private String result; @@ -23,12 +23,12 @@ public class PringoJsonSendResponseDto { private String msg; /** - * 응답 JSON 오타 그대로 "retrun_key" + * Pringo send response key. Accepts the legacy misspelled key for compatibility. */ - @JsonProperty("retrun_key") + @JsonProperty("return_key") private Long returnKey; public boolean isSuccess() { return "1".equals(result); } -} \ No newline at end of file +}