Skip to content

Commit bc2578e

Browse files
committed
fix(imports): use real imports
1 parent ff00e9a commit bc2578e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

playground/server/plugins/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export default defineNitroPlugin((app) => {
2+
// @ts-expect-error - untyped hook
23
app.hooks.hook('edgedb:auth:callback', (data) => {
34
console.log(data)
45
})

src/runtime/server/plugins/edgedb-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createClient } from 'edgedb'
22
import { defineNitroPlugin } from 'nitropack/dist/runtime/plugin'
3+
import { useEdgeDbEnv } from '../'
34

45
export default defineNitroPlugin(() => {
56
const { dsn } = useEdgeDbEnv()

0 commit comments

Comments
 (0)