From 338a556b14e67cc8baab271f2e3e3862e73f6026 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Fri, 16 Aug 2024 15:51:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20kakaotalk=20bulkstatus=20API=20call=20?= =?UTF-8?q?=EB=A7=A4=ED=95=91=EA=B0=92=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/xit/ens/kakao/v2/service/KkotalkEltrcDocService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mens-api/src/main/java/kr/xit/ens/kakao/v2/service/KkotalkEltrcDocService.java b/mens-api/src/main/java/kr/xit/ens/kakao/v2/service/KkotalkEltrcDocService.java index 49ffd2e..2f64897 100644 --- a/mens-api/src/main/java/kr/xit/ens/kakao/v2/service/KkotalkEltrcDocService.java +++ b/mens-api/src/main/java/kr/xit/ens/kakao/v2/service/KkotalkEltrcDocService.java @@ -170,11 +170,11 @@ public class KkotalkEltrcDocService extends AbstractService implements public KkotalkDocDTO.EnvelopeStatusResponse findStatus(final KkotalkDocDTO.EnvelopeId reqDTO){ validate(reqDTO, null); - + String param = "{\"envelopeIds\":" + JsonUtils.toJson(List.of(reqDTO.getEnvelopeId())) + "}"; KkotalkDTO.BulkStatusResponse res = webClient.exchangeKkotalk( HOST + API_BULKSTATUS[0], HttpMethod.valueOf(API_BULKSTATUS[1]), - JsonUtils.toJson(List.of(reqDTO.getEnvelopeId())), + param, KkotalkDTO.BulkStatusResponse.class, getRlaybsnmInfo(reqDTO)); return res.getEnvelopeStatus().get(0);