Skip to content

Commit

Permalink
chore: add log just incase
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Dec 7, 2022
1 parent ee04753 commit c27b945
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/app/routes/api/feedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ export const action: ActionFunction = async ({ request }) => {
upvoted: body.get('variant') === 'upvote',
})

console.log('SUPABASE RESPONSE', res)

return json({ success: true }, 200)
} catch (err) {
console.error('ERROR DOING SUPABASE', err)
return json({ success: false, error: err.message }, 405)
}
}
Expand Down

0 comments on commit c27b945

Please sign in to comment.