Skip to content

Commit

Permalink
[bug] print
Browse files Browse the repository at this point in the history
  • Loading branch information
yunji118 committed Jan 12, 2024
1 parent 4310809 commit dc7f790
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public String getTransSentence(String s, User user) throws ParseException {
JSONObject jsonObject = (JSONObject) jsonParser.parse(responseBody);

JSONObject messageObj = (JSONObject) jsonObject.get("message");
// System.out.println("messageObj = " + messageObj);
System.out.println("messageObj = " + messageObj);
JSONObject resultObj = (JSONObject) messageObj.get("result");
// System.out.println("resultObj = " + resultObj);
System.out.println("resultObj = " + resultObj);
String transText = resultObj.get("translatedText").toString();

return transText;
Expand Down

0 comments on commit dc7f790

Please sign in to comment.