Skip to content

Commit

Permalink
style : api 변경에 따른 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
byeolhaha committed May 12, 2024
1 parent 0631dbc commit 932339a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/static/js/client-chatrooms.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function openChatPasswordModal(chatRoomId) {
return;
}

fetch('/chat-rooms/password', {
fetch(`/chat-rooms/${chatRoomId}/passwords`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/js/survey.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function openChatPasswordModal(chatRoomId) {
return;
}

fetch('/chat-rooms/password', {
fetch(`/chat-rooms/${chatRoomId}/passwords`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down

0 comments on commit 932339a

Please sign in to comment.