Skip to content

Commit

Permalink
Fix event type
Browse files Browse the repository at this point in the history
  • Loading branch information
timuric committed Aug 21, 2024
1 parent b1b3eb2 commit 59dea4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/api/demo-payment/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function GET() {
webhooks: [
{
name: "Transaction initialize",
asyncEvents: ["TRANSACTION_INITIALIZE_SESSION"],
syncEvents: ["TRANSACTION_INITIALIZE_SESSION"],
query: removeWhiteSpace(`
subscription {
event {
Expand All @@ -54,7 +54,7 @@ export async function GET() {
},
{
name: "Gateway initialize",
asyncEvents: ["PAYMENT_GATEWAY_INITIALIZE_SESSION"],
syncEvents: ["PAYMENT_GATEWAY_INITIALIZE_SESSION"],
query: removeWhiteSpace(`
subscription {
event {
Expand Down

0 comments on commit 59dea4f

Please sign in to comment.