Skip to content

Commit

Permalink
♻️ refactor : remove /test endpoint (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
seonghun-dev authored May 20, 2023
1 parent f8193a7 commit 238eeb1
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.depromeet.streetdrop.global.common.controller;

import com.depromeet.streetdrop.global.error.dto.ErrorCode;
import com.depromeet.streetdrop.global.error.exception.common.NotFoundException;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

Expand All @@ -13,8 +11,4 @@ public String health() {
return "Application Health Good!";
}

@GetMapping("/test")
public String test() {
throw new NotFoundException(ErrorCode.NOT_FOUND);
}
}

0 comments on commit 238eeb1

Please sign in to comment.