From c97d8dfe0d2fc500e869252358d3990d3e5c32f9 Mon Sep 17 00:00:00 2001 From: SEONG JUN SHIN Date: Thu, 22 Feb 2024 03:37:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20pointer=20api=20=EA=B0=80=20=ED=8C=8C?= =?UTF-8?q?=EC=8B=B1=EB=90=9C=20=EA=B2=B0=EA=B3=BC=EB=A5=BC=20=EB=A6=AC?= =?UTF-8?q?=ED=84=B4=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/gdsc/pointer/service/ImageService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/gdsc/pointer/service/ImageService.java b/src/main/java/gdsc/pointer/service/ImageService.java index 7295f5c..9524684 100644 --- a/src/main/java/gdsc/pointer/service/ImageService.java +++ b/src/main/java/gdsc/pointer/service/ImageService.java @@ -126,7 +126,8 @@ public String getWordWithPointer(PointerDto dto) throws IOException { //String image_url = dto.getImageUrl(); ResponseEntity response = postPointer(image_url); - return response.getBody(); + String parsedText = textParse(response.getBody()); + return parsedText; } private ResponseEntity postPointer(String url) {