fix. [PWT-159] 공식 영상 > 영상 클릭 범위 수정

This commit is contained in:
clkim
2025-12-02 13:12:48 +09:00
parent c888c4bf0c
commit 3348c21696
2 changed files with 16 additions and 9 deletions

View File

@@ -177,9 +177,9 @@ export default defineEventHandler(async event => {
game_domain: cleanHost || '',
lang_code: '',
}
const initResponse = (await $fetch(apiUrl, {
const initResponse = await $fetch<GameDataResponse>(apiUrl, {
query: queryParams,
})) as GameDataResponse | null
})
initLangCodes = initResponse?.value?.lang_codes || null
initDefaultLocale = initResponse?.value?.default_lang_code || null
@@ -261,9 +261,9 @@ export default defineEventHandler(async event => {
lang_code: finalLocale,
}
const response = (await $fetch(apiUrl, {
const response = await $fetch<GameDataResponse>(apiUrl, {
query: queryParams,
})) as GameDataResponse | null
})
console.log('🚀 ~ gameData response:', response)