Skip to content

Commit 4cafc24

Browse files
committed
fix: update nuxt request method in the check page
1 parent 65bea89 commit 4cafc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/check/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const handleSubmit = async (data: {
3333
if (data.errors === undefined) {
3434
resultInfo.loading = true
3535
try {
36-
const data = await $fetch('/api/check', {
36+
const data = await request()('/api/check', {
3737
query: formData.value,
3838
})
3939
resultInfo.message = data.content

0 commit comments

Comments
 (0)