Browse Source

ci: fix deploy

Dax Raad 6 months ago
parent
commit
bfe3f03e03
2 changed files with 2 additions and 2 deletions
  1. 1 2
      infra/console.ts
  2. 1 0
      sst.config.ts

+ 1 - 2
infra/console.ts

@@ -1,4 +1,3 @@
-import { WebhookEndpoint } from "pulumi-stripe"
 import { domain } from "./stage"
 
 ////////////////
@@ -68,7 +67,7 @@ export const auth = new sst.cloudflare.Worker("AuthApi", {
 // GATEWAY
 ////////////////
 
-export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", {
+export const stripeWebhook = new stripe.WebhookEndpoint("StripeWebhookEndpoint", {
   url: $interpolate`https://${domain}/stripe/webhook`,
   enabledEvents: [
     "checkout.session.async_payment_failed",

+ 1 - 0
sst.config.ts

@@ -1,4 +1,5 @@
 /// <reference path="./.sst/platform/config.d.ts" />
+
 export default $config({
   app(input) {
     return {