fix surveys

This commit is contained in:
Swift
2024-02-24 18:21:50 +03:30
parent ce71b592dd
commit 85b95ed60d
4 changed files with 69 additions and 27 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export default {
layout: 'admin',
async asyncData({ $axios, error }) {
try {
const surveys = await $axios.$get(`/api/admin/surveys?type=0`)
const surveys = await $axios.$get(`/api/admin/surveys?type=1`)
return {
surveys
}