Skip to content

Commit df91b17

Browse files
committed
chore: update playground api signature
1 parent 218b9bd commit df91b17

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

playground/server/api/client.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export default () => {
2-
return useSanity().config
3-
}
1+
export default defineEventHandler(() => useSanity().config)

playground/server/api/groq.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default () => groq`hey there!`
1+
export default defineEventHandler(() => groq`hey there!`)

0 commit comments

Comments
 (0)