Skip to content

Commit

Permalink
default value
Browse files Browse the repository at this point in the history
  • Loading branch information
philhawksworth committed Aug 15, 2023
1 parent df7693d commit 2300467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify/functions/hello.js
Expand Up @@ -16,7 +16,7 @@
export function handler(event, context, callback) {

// Who's there?
const { name = "friend" } = event.queryStringParameters;
const name = event.queryStringParameters["name"] || "friend"

// Say hello
callback(null, {
Expand Down

0 comments on commit 2300467

Please sign in to comment.