Skip to content

Commit

Permalink
Fix: 디스코드 메세지에 대괄호 포함되어 메세지 전송 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Sep 4, 2024
1 parent 396d93d commit e4df9d8
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,16 @@ private void matchRequestToAdmin(PictureGenerateRequest pgr, Creator adminCreato
adminCreator.addPictureGenerateResponse(newPGRES);
pgresList.add(newPGRES);
gentiMatchResult.addMatchResult(
"[요청자 email] : %s [요청자 id] : %d [작업자 email] : %s [작업자 id] : %d [프롬프트] : %s [비율] : %s [앵글] : %s ".formatted(
pgr.getRequester().getEmail(), pgr.getId(), adminCreator.getUser().getEmail(), adminCreator.getId(),
pgr.getPrompt(), pgr.getPictureRatio().getResponse(), pgr.getCameraAngle().getResponse()));
"|요청자 email : %s | 요청자 id : %d | 작업자 email : %s | 프롬프트 : %s ".formatted(pgr.getRequester().getEmail(),
pgr.getId(), adminCreator.getUser().getEmail(), pgr.getPrompt()));
}

private void matchRequestToCreator(PictureGenerateRequest pgr, Creator creator, GentiMatchResult gentiMatchResult) {
pgr.assignToCreator(creator);
creator.addPictureGenerateRequest(pgr);
gentiMatchResult.addMatchResult(
"[요청자 email] : %s [요청자 id] : %d [작업자 email] : %s [작업자 id] : %d [프롬프트] : %s [비율] : %s [앵글] : %s ".formatted(
pgr.getRequester().getEmail(), pgr.getId(), creator.getUser().getEmail(), creator.getId(),
pgr.getPrompt(), pgr.getPictureRatio().getResponse(), pgr.getCameraAngle().getResponse()));
"|요청자 email : %s | 요청자 id : %d | 작업자 email : %s | 프롬프트 : %s ".formatted(pgr.getRequester().getEmail(),
pgr.getId(), creator.getUser().getEmail(), pgr.getPrompt()));
}

private void matchRemainingRequestsToAdmin(List<PictureGenerateRequest> remainingRequests,
Expand Down

0 comments on commit e4df9d8

Please sign in to comment.