Skip to content

Commit

Permalink
update :: created_at -> started_at 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Umjiseung committed Jun 4, 2024
1 parent a9434f5 commit b248156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void execute(Long eventId, EventUpdateRequestDto eventUpdateRequestDto, M

String img_url = s3Util.imageUpload(image);

Status status = checkDate(eventUpdateRequestDto.getCreated_at(), eventUpdateRequestDto.getEnded_at());
Status status = checkDate(eventUpdateRequestDto.getStarted_at(), eventUpdateRequestDto.getEnded_at());

Event event = eventConverter.toUpdateEntity(eventId, eventUpdateRequestDto, user, img_url, status);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void execute(EventWriteRequestDto eventWriteRequestDto, MultipartFile ima
if (user.getAuthority() == Authority.ROLE_STUDENT)
throw new NotAccessStudentException();

Status status = checkDate(eventWriteRequestDto.getCreated_at(), eventWriteRequestDto.getEnded_at());
Status status = checkDate(eventWriteRequestDto.getStarted_at(), eventWriteRequestDto.getEnded_at());

String image_url = s3Util.imageUpload(image);

Expand Down

0 comments on commit b248156

Please sign in to comment.