Skip to content

Commit

Permalink
Merge pull request #19 from iHangbot/refactor/keyword
Browse files Browse the repository at this point in the history
refactor: concern의 category 앞에 '/' 붙는 거 제거
  • Loading branch information
Jimin0304 authored Aug 5, 2023
2 parents 14bd6c2 + 7300218 commit 72be5ac
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public ResponseEntity<BasicResponse> getKeyWord(@RequestBody List<KeyWordRequest
public ResponseEntity<BasicResponse> getConcern(@RequestBody List<ConcernRequestDTO> requestDTOList) throws ParseException {
for (ConcernRequestDTO requestDTO : requestDTOList) {
String category = requestDTO.getCategory();

if (category.startsWith("/"))
category = category.substring(1);

String confidence = requestDTO.getConfidence();
String username = requestDTO.getUsername();
String date = requestDTO.getDate();
Expand Down

0 comments on commit 72be5ac

Please sign in to comment.