Skip to content

Commit a1c438f

Browse files
committed
chore : rest api 경로 변경
1 parent de8f289 commit a1c438f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/ezcode/codetest/presentation/game/play/GamePlayController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public ResponseEntity<ItemGamblingResponse> gamblingForItem(
114114
}
115115
)
116116
@ResponseMessage("정상적으로 스킬 뽑기에 성공하였습니다.")
117-
@PostMapping("/characters/skills/gambling")
117+
@PostMapping("/characters/skills/gamble")
118118
public ResponseEntity<SkillGamblingResponse> gamblingForSkill(
119119
@AuthenticationPrincipal AuthUser authUser
120120
) {

src/main/resources/templates/game-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ <h3>📜 전투 로그</h3>
889889

890890
try {
891891
// 2) 요청 보내기
892-
const res = await fetch('/api/games/characters/skills/gambling', {
892+
const res = await fetch('/api/games/characters/skills/gamble', {
893893
method: 'POST',
894894
headers: {
895895
'Content-Type': 'application/json',

0 commit comments

Comments
 (0)