Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/pages/EventMainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ export default function EventMainPage() {
// 대포게임: 이벤트 참여자 닉네임 목록 조회 (있으면 사용, 없으면 admin endpoint로 폴백)
const getEventMemberNicknames = async (): Promise<string[]> => {
try {

const tryUrl = `${API_URL}/api/v1/event/events/admin/members/nickname?eventId=${eventId}`;


try {
console.log("[EventMainPage] 멤버 닉네임 조회 시도", tryUrl);
const res = await apiFetch(tryUrl, { method: "GET" });
Expand Down Expand Up @@ -253,7 +255,7 @@ export default function EventMainPage() {
}

const res = await apiFetch(`${API_URL}/api/v1/game/${eventId}/cannon`, {
method: "GET",
method: "POST",
body: JSON.stringify(nicknames),
});

Expand Down