Skip to content

Commit

Permalink
chore: http status 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leeggmin committed Apr 3, 2024
1 parent e20f3d4 commit d84221a
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 @@ -4,7 +4,7 @@
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.IM_USED)
@ResponseStatus(value = HttpStatus.LOCKED)
public class WakeupSongAlreadyCreatedException extends CustomException {

public WakeupSongAlreadyCreatedException() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@RequiredArgsConstructor
public enum WakeupSongExceptionCode implements ExceptionCode {

ALREADY_APPLIED(HttpStatus.IM_USED, "이미 이번주에 기상송을 신청함"),
ALREADY_APPLIED(HttpStatus.LOCKED, "이미 이번주에 기상송을 신청함"),
NOT_FOUND(HttpStatus.NOT_FOUND, "없는 기상송"),
NOT_APPLICANT(HttpStatus.FORBIDDEN, "신청자가 아님"),
URL_MALFORMED(HttpStatus.BAD_REQUEST, "잘못된 유튜브 URL 형식");
Expand Down

0 comments on commit d84221a

Please sign in to comment.