From cdb45a3e0393cc0d57cbf43fa0a03454b3ee7af3 Mon Sep 17 00:00:00 2001 From: kjh Date: Tue, 10 Sep 2024 18:37:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B9=B4=EC=B9=B4=EC=98=A4=20=ED=82=A4?= =?UTF-8?q?=20=EC=84=A4=EC=A0=95=20=EB=B0=8F=20=EB=AC=B8=EC=84=9C=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=84=A4=EC=A0=95=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/kkotalk/service/support/KkoTalkApiService.java | 2 +- src/main/resources/application-local.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java index 354f462..fd4d167 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java @@ -380,7 +380,7 @@ public class KkoTalkApiService { HttpHeaders headers = new HttpHeaders(); headers.setContentType(new MediaType(MediaType.APPLICATION_JSON, Charset.forName("utf-8"))); headers.set(HttpHeaders.AUTHORIZATION, String.format("KakaoAK %s", orgMng.getKakaoDealerRestApiKey())); - headers.set("Target-Authorization", orgMng.getKakaoPartnerRestApiKey()); + headers.set("Target-Authorization", String.format("KakaoAK %s", orgMng.getKakaoPartnerRestApiKey())); headers.set("settle-Id", IS_PROFILE_LOCAL ? orgMng.getKakaoDevSettleId() : orgMng.getKakaoProdSettleId()); return headers; diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml index 03c16c5..4de9f04 100644 --- a/src/main/resources/application-local.yml +++ b/src/main/resources/application-local.yml @@ -65,5 +65,5 @@ contract: kakao: talk: host: https://test-edoc-gw.kakao.com - send: /v1/envelopes/{PRODUCT_CODE}T;POST - bulksend: /v1/bulk/envelopes/{PRODUCT_CODE}T;POST + send: /v1/envelopes/{PRODUCT_CODE};POST + bulksend: /v1/bulk/envelopes/{PRODUCT_CODE};POST