Skip to content

Commit

Permalink
fix(imports): ♻️ Added additional explicit h3 imports
Browse files Browse the repository at this point in the history
  • Loading branch information
itpropro committed Dec 27, 2023
1 parent ab2cbdb commit 5a2edc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/server/handler/callback.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { callbackEventHandler } from '../lib/oidc'
import { setUserSession } from '../utils/session'
import { sendRedirect } from 'h3'

export default callbackEventHandler({
async onSuccess(event, { user }) {
Expand Down
1 change: 1 addition & 0 deletions src/runtime/server/handler/login.get.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { loginEventHandler } from '../lib/oidc'
import { sendRedirect } from 'h3'

export default loginEventHandler({
async onSuccess(event) {
Expand Down
1 change: 1 addition & 0 deletions src/runtime/server/handler/logout.get.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { logoutEventHandler } from '../lib/oidc'
import { sendRedirect } from 'h3'

export default logoutEventHandler({
async onSuccess(event) {
Expand Down

0 comments on commit 5a2edc1

Please sign in to comment.