Skip to content

Commit

Permalink
[CHORE] Failure Response DTO data 필드 Nullable 롤백
Browse files Browse the repository at this point in the history
- 휴먼 이슈인 듯 합니다만 "2차 출석..." 문구에서 `2`가 빠졌던 문구에 `2`추가했습니다.
  • Loading branch information
yummygyudon committed Apr 5, 2024
1 parent 08ab359 commit e39d0ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public enum LectureFailureCode implements FailureCode {
INVALID_ATTENDANCE(BAD_REQUEST,"존재하지 않는 출석 세션입니다."),
ENDED_ATTENDANCE(BAD_REQUEST, "차 출석이 이미 종료되었습니다."),
ENDED_FIRST_ATTENDANCE(BAD_REQUEST, "1차 출석이 이미 종료되었습니다."),
ENDED_SECOND_ATTENDANCE(BAD_REQUEST, " 출석이 이미 종료되었습니다."),
ENDED_SECOND_ATTENDANCE(BAD_REQUEST, "2차 출석이 이미 종료되었습니다."),
INVALID_COUNT_SESSION(BAD_REQUEST,"세션의 개수가 올바르지 않습니다."),
INVALID_LECTURE(BAD_REQUEST,"존재하지 않는 세션입니다."),
NO_SESSION(BAD_REQUEST,"오늘 세션이 없습니다."),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package org.sopt.makers.operation.dto;

import static com.fasterxml.jackson.annotation.JsonInclude.Include.*;

import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.AccessLevel;
import lombok.Builder;
Expand All @@ -11,7 +9,7 @@
public record BaseResponse<T> (
boolean success,
String message,
@JsonInclude(value = NON_NULL)
// @JsonInclude(value = NON_NULL)
T data
) {

Expand Down

0 comments on commit e39d0ef

Please sign in to comment.