Skip to content

Commit 9183a63

Browse files
authored
rm .default() in argument for set up function guide (#7910)
1 parent c38b108 commit 9183a63

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/functions/set-up-function

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/functions/set-up-function/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const schema = a.schema({
8989
sayHello: a
9090
.query()
9191
.arguments({
92-
name: a.string().default("World"),
92+
name: a.string(),
9393
})
9494
.returns(a.string())
9595
.handler(a.handler.function(sayHello)),

0 commit comments

Comments
 (0)