Skip to content

Commit

Permalink
fix(nuxt): Remove unused parameter in sentry-example-api template (#734)
Browse files Browse the repository at this point in the history
* fix(nuxt): Remove unused parameter in sentry-example-api template

* Add changelog
  • Loading branch information
andreiborza authored Dec 2, 2024
1 parent 167ec85 commit 1a3be9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

- fix(nuxt): Remove unused parameter in sentry-example-api template ([#734](https://github.com/getsentry/sentry-wizard/pull/734))

## 3.36.0

- Remove Profiling for Android ([#720](https://github.com/getsentry/sentry-wizard/pull/720))
Expand Down
2 changes: 1 addition & 1 deletion src/nuxt/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export function getSentryExampleApiTemplate() {
// Feel free to delete this file.
import { defineEventHandler } from '#imports';
export default defineEventHandler(event => {
export default defineEventHandler(() => {
throw new Error("Sentry Example API Route Error");
});
`;
Expand Down

0 comments on commit 1a3be9f

Please sign in to comment.