Skip to content

Commit

Permalink
chore: 기획 변경에 의한 코드 초기화 (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
le2sky authored Aug 2, 2024
1 parent 8372291 commit 1b7e1b6
Show file tree
Hide file tree
Showing 34 changed files with 3 additions and 1,843 deletions.
2 changes: 1 addition & 1 deletion backend/src/main/java/develup/api/MemberApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public MemberApi(MemberService memberService) {
this.memberService = memberService;
}

@GetMapping("/member/mine")
@GetMapping("/members/mine")
@Operation(summary = "내 정보 조회 API", description = "'token' 쿠키를 이용해서 내 정보를 조회합니다.")
public ResponseEntity<ApiResponse<MemberResponse>> getMyInfo(@Auth Accessor accessor) {
MemberResponse response = memberService.getMemberById(accessor.id());
Expand Down
42 changes: 0 additions & 42 deletions backend/src/main/java/develup/api/MissionApi.java

This file was deleted.

33 changes: 0 additions & 33 deletions backend/src/main/java/develup/api/PairApi.java

This file was deleted.

53 changes: 0 additions & 53 deletions backend/src/main/java/develup/api/SubmissionApi.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ public enum ExceptionType {
TOKEN_NOT_FOUND(HttpStatus.UNAUTHORIZED, "토큰이 존재하지 않습니다."),
TOKEN_EXPIRED(HttpStatus.UNAUTHORIZED, "토큰이 만료되었습니다."),
INVALID_TOKEN(HttpStatus.UNAUTHORIZED, "유효하지 않는 토큰입니다."),
SAME_SUBMISSION_PAIR(HttpStatus.BAD_REQUEST, "같은 제출끼리 페어가 될 수 없습니다."),
MISSION_NOT_FOUND(HttpStatus.NOT_FOUND, "존재하지 않는 미션입니다."),
MATCH_SUBMISSION_NOT_FOUND(HttpStatus.BAD_REQUEST, "매칭할 제출이 존재하지 않습니다."),
SUBMISSION_NOT_FOUND(HttpStatus.NOT_FOUND, "존재하지 않는 제출입니다."),
ALREADY_MATCHED_SUBMISSION(HttpStatus.BAD_REQUEST, "이미 매칭된 제출입니다."),
ALREADY_REVIEWED(HttpStatus.CONFLICT, "이미 리뷰를 완료했습니다."),

;

private final HttpStatus status;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

107 changes: 0 additions & 107 deletions backend/src/main/java/develup/application/submission/PairService.java

This file was deleted.

Loading

0 comments on commit 1b7e1b6

Please sign in to comment.