Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing imports #671

Merged
merged 1 commit into from
Feb 22, 2024
Merged

fix: add missing imports #671

merged 1 commit into from
Feb 22, 2024

Conversation

phoenix-ru
Copy link
Collaborator

Fixes auto-imports missing after #665

Checklist:

  • issue number linked above after pound (#)
    • replace "Closes " with "Contributes to" or other if this PR does not close the issue
  • manually checked my feature / checking not applicable
  • wrote tests / testing not applicable
  • attached screenshots / screenshot not applicable

@@ -31,7 +31,7 @@ const useConfig = () => useTypedBackendConfig(useRuntimeConfig(), 'authjs')
const readBodyForNext = async (event: H3Event) => {
let body: any

if (isMethod(event, 'PATCH') || isMethod(event, 'POST') || isMethod(event, 'PUT') || isMethod(event, 'DELETE')) {
if (isMethod(event, ['PATCH', 'POST', 'PUT', 'DELETE'])) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this improvement! 🥳

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

h3 seems to have improved since last update. If only the imports were not broken :D

@phoenix-ru phoenix-ru merged commit b49aa78 into main Feb 22, 2024
4 checks passed
@phoenix-ru phoenix-ru deleted the hotfix/missing-imports branch February 22, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants