Skip to content

Commit

Permalink
update payload
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorrisondev committed Apr 30, 2024
1 parent b48e782 commit 425a13a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/api/webhooks/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ const handler = createWebhooksHandler({
// Create a user in the database
console.log("user created!", payload)
},
onUserUpdated: async (payload) => {
// Update a user in the database
console.log("user updated!", payload)
},
onSessionCreated: async (payload) => {
// Create a session in the database
console.log("session created!", payload)
Expand Down

0 comments on commit 425a13a

Please sign in to comment.