Skip to content

Commit

Permalink
fix: pointer api 가 파싱된 결과를 리턴하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsj4653 committed Feb 21, 2024
1 parent ea587d0 commit c97d8df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/gdsc/pointer/service/ImageService.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ public String getWordWithPointer(PointerDto dto) throws IOException {

//String image_url = dto.getImageUrl();
ResponseEntity<String> response = postPointer(image_url);
return response.getBody();
String parsedText = textParse(response.getBody());
return parsedText;
}

private ResponseEntity<String> postPointer(String url) {
Expand Down

0 comments on commit c97d8df

Please sign in to comment.