thainv-dev: Fix
This commit is contained in:
@@ -31,10 +31,11 @@ export type Survey = {
|
||||
|
||||
const { apiUrl } = useRuntimeConfig().public
|
||||
const { surveyId }: any = getQuery(event)
|
||||
const query = getQuery(event)
|
||||
const { item }: Survey | any = await $fetch(`${apiUrl}/cms/survey/${surveyId}`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
site: 1
|
||||
site: getSite(query.site).toString()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user