릴리스: v1.3.55 관리자 요청 썸네일 승계 및 배지 색상 구분

This commit is contained in:
2026-04-02 11:54:53 +09:00
parent 1d8e8581b8
commit 0a3fce2130
9 changed files with 53 additions and 5 deletions

View File

@@ -135,7 +135,11 @@ export function useAdminGameManager({
method: 'POST',
credentials: 'include',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ id: newGameId.value.trim(), name: newGameName.value.trim() }),
body: JSON.stringify({
id: newGameId.value.trim(),
name: newGameName.value.trim(),
thumbnailSrc: activeTemplateRequest.value?.type === 'create' ? (activeTemplateRequest.value?.thumbnailSrc || '') : '',
}),
})
if (!res.ok) throw new Error('failed')