Skip to content

Commit

Permalink
fix(nuxt): api template typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini committed Jun 27, 2024
1 parent c2c6a13 commit 9b6eae8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineEventHandler, getQuery } from 'h3';

export default defineEventHandler((event) => {
const q = getQuery(event);
const name = q.name || 'World';
const projectName = q.name || 'World';

return {
message: `Hello ${projectName}`,
Expand Down

0 comments on commit 9b6eae8

Please sign in to comment.