fix. [PWT-159] 공식 영상 > 영상 클릭 범위 수정
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user