Skip to content

Commit

Permalink
fix(useSurrealDB): server util type
Browse files Browse the repository at this point in the history
  • Loading branch information
sandros94 committed Jul 14, 2024
1 parent 213f79a commit c558066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/server/utils/surreal-db.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { H3Event } from 'h3'

import type { QueryResponse, RpcParams } from '../../types'
import { type ServerOverrides, useSurrealRPC } from './surreal-fetch'
import type { QueryResponse, RpcParams, ServerOverrides } from '../../types'
import { useSurrealRPC } from './surreal-fetch'

export function useSurrealDB(event: H3Event, overrides?: ServerOverrides) {
// query [ sql, vars ]
Expand Down

0 comments on commit c558066

Please sign in to comment.