Skip to content

Commit 1a3be9f

Browse files
authored
fix(nuxt): Remove unused parameter in sentry-example-api template (#734)
* fix(nuxt): Remove unused parameter in sentry-example-api template * Add changelog
1 parent 167ec85 commit 1a3be9f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- fix(nuxt): Remove unused parameter in sentry-example-api template ([#734](https://github.com/getsentry/sentry-wizard/pull/734))
6+
37
## 3.36.0
48

59
- Remove Profiling for Android ([#720](https://github.com/getsentry/sentry-wizard/pull/720))

src/nuxt/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export function getSentryExampleApiTemplate() {
239239
// Feel free to delete this file.
240240
import { defineEventHandler } from '#imports';
241241
242-
export default defineEventHandler(event => {
242+
export default defineEventHandler(() => {
243243
throw new Error("Sentry Example API Route Error");
244244
});
245245
`;

0 commit comments

Comments
 (0)