Skip to content

Commit

Permalink
chore: remove typefully integration
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 21, 2024
1 parent d7e1a14 commit 91bd77b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion server/api/question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineEventHandler(async event => {
if (!question) throw createError({ statusCode: 422 })

event.waitUntil(sanity.client.create({ _type: 'ama', content: question }).catch(console.error))
event.waitUntil(createTypefullyDraft(event, question).catch(console.error))

await sendEmail(event, 'Anonymous question', question)
return null
Expand Down
20 changes: 0 additions & 20 deletions server/utils/typefully.ts

This file was deleted.

0 comments on commit 91bd77b

Please sign in to comment.