Skip to content

Commit

Permalink
fix: add missing import for createError (#33)
Browse files Browse the repository at this point in the history
* chore: gitignore

* chore: version

* fix: missing import
  • Loading branch information
stefanorosanelli authored Sep 18, 2024
1 parent b2a50db commit 96330ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ coverage
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
.history/

# Intellij idea
*.iml
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/runtime/server/utils/recaptcha.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { createError } from 'h3';
import { ofetch } from 'ofetch';
import { isRecaptchaEnabled } from '../../utils/recaptcha-helpers';
import type { RecaptchaResponse } from '../../types';
Expand Down

0 comments on commit 96330ed

Please sign in to comment.