Skip to content

Commit

Permalink
Merge pull request #283 from JNU-econovation/feature/BE-104
Browse files Browse the repository at this point in the history
[BE-106] Attachment 존재 유무 판별 로직 변경
  • Loading branch information
rlajm1203 authored Sep 27, 2024
2 parents 58ca411 + d16d35a commit b0c2c36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/Recruit-Api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM openjdk:11-jdk-slim
EXPOSE 8080

COPY ./build/libs/*.jar app.jar
COPY ../portfolio.pdf portfolio.pdf
#ARG PROFILE=prod
#ARG PROFILE=local
ENV PROFILE=${PROFILE}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private boolean sendEmailWithRetry(
Map<MongoAnswer, Integer> retryCounts,
Queue<MongoAnswer> failQueue) {
boolean result;
if (attachment != null) {
if (!attachment.exists()) {
result =
emailSender.sendEmailWithAttachment(
applicant.getQna().get("email").toString(),
Expand Down

0 comments on commit b0c2c36

Please sign in to comment.