diff --git a/src/main/java/fairytale/tbd/domain/faceSwap/service/FaceSwapApiServiceImpl.java b/src/main/java/fairytale/tbd/domain/faceSwap/service/FaceSwapApiServiceImpl.java index d2a0f83..73d63ab 100644 --- a/src/main/java/fairytale/tbd/domain/faceSwap/service/FaceSwapApiServiceImpl.java +++ b/src/main/java/fairytale/tbd/domain/faceSwap/service/FaceSwapApiServiceImpl.java @@ -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();