Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
zoangrak committed Apr 2, 2024
1 parent 2941f19 commit 869d461
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ public boolean checkMessage(@Payload String message) {
Map<String, Object> responseBody = responseEntity.getBody();

if (responseBody != null) {
// List<?> modelResultList = (List<?>) responseBody.get("model_result");
// int modelResult = (int) modelResultList.get(0); // 모델 결과 확인
Integer modelResult = (Integer) responseBody.get("model_result");
//int modelResult = (int) modelResultList.get(0); // 모델 결과 확인

int modelResult = (int) responseBody.get("model_result");
// int modelResult = (int) responseBody.get("model_result");

// 응답이 1인지 여부 반환
return modelResult == 1;
Expand Down

0 comments on commit 869d461

Please sign in to comment.