We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff00e9a commit bc2578eCopy full SHA for bc2578e
2 files changed
playground/server/plugins/auth.ts
@@ -1,4 +1,5 @@
1
export default defineNitroPlugin((app) => {
2
+ // @ts-expect-error - untyped hook
3
app.hooks.hook('edgedb:auth:callback', (data) => {
4
console.log(data)
5
})
src/runtime/server/plugins/edgedb-client.ts
@@ -1,5 +1,6 @@
import { createClient } from 'edgedb'
import { defineNitroPlugin } from 'nitropack/dist/runtime/plugin'
+import { useEdgeDbEnv } from '../'
export default defineNitroPlugin(() => {
6
const { dsn } = useEdgeDbEnv()
0 commit comments