Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Smef committed Jun 7, 2024
1 parent 90983f9 commit 0cfb955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/composables/usePrecognitionForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function validate(fieldName: string) {

console.log('precognition oFetch')
try {
const response = await $fetch(this.url, {
await $fetch(this.url, {
method: this.method,
headers: {
'Precognition': true,
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/utils/definePrecognitionEventHandler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type EventHandler, type EventHandlerRequest, type H3Event, setResponseHeader, setResponseStatus } from 'h3'
import { type EventHandler, type EventHandlerRequest, type H3Event, setResponseHeader } from 'h3'
import type { ZodSchema, ZodObject } from 'zod'
import { z } from 'zod'
import { defineEventHandler } from 'h3'
Expand Down

0 comments on commit 0cfb955

Please sign in to comment.