Skip to content

Commit

Permalink
chore: update playground api signature
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 17, 2022
1 parent 218b9bd commit df91b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions playground/server/api/client.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export default () => {
return useSanity().config
}
export default defineEventHandler(() => useSanity().config)
2 changes: 1 addition & 1 deletion playground/server/api/groq.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default () => groq`hey there!`
export default defineEventHandler(() => groq`hey there!`)

0 comments on commit df91b17

Please sign in to comment.