Skip to content

Commit

Permalink
🐛 FIX. url <-> id 반대로 입력되는 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaa committed May 7, 2024
1 parent edea02f commit d728969
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public SwapResult getFaceSwapImg(FaceSwapRequestDto.FaceSwapRequest faceSwapRequ
String url = jsonObject.getJSONObject("data").getString("url");
String id = jsonObject.getJSONObject("data").getString("_id");

return new SwapResult(url, id);
return new SwapResult(id, url);
} catch (IOException e) {
LOGGER.error("Face Swap에 실패했습니다.");
e.printStackTrace();
Expand Down

0 comments on commit d728969

Please sign in to comment.