File tree Expand file tree Collapse file tree
apps/web/app/api/webhooks/stripe Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,9 +115,10 @@ export const POST = async (req: Request) => {
115115 console . log ( "Webhook received" ) ;
116116 const buf = await req . text ( ) ;
117117 const sig = req . headers . get ( "Stripe-Signature" ) as string ;
118- const webhookSecret = serverEnv ( ) . VERCEL_ENV === "production"
119- ? serverEnv ( ) . STRIPE_WEBHOOK_SECRET_LIVE
120- : serverEnv ( ) . STRIPE_WEBHOOK_SECRET_TEST ;
118+ const webhookSecret =
119+ serverEnv ( ) . VERCEL_ENV === "production"
120+ ? serverEnv ( ) . STRIPE_WEBHOOK_SECRET_LIVE
121+ : serverEnv ( ) . STRIPE_WEBHOOK_SECRET_TEST ;
121122 let event : Stripe . Event ;
122123
123124 try {
Original file line number Diff line number Diff line change 44/* deno-fmt-ignore-file */
55
66declare module "sst" {
7- export interface Resource {
8- " AuroraDB" : {
9- " clusterArn" : string
10- " database" : string
11- " host" : string
12- " password" : string
13- " port" : number
14- " reader" : string
15- " secretArn" : string
16- " type" : "sst.aws.Aurora"
17- " username" : string
18- }
19- " CAP_AWS_ACCESS_KEY" : {
20- " type" : "sst.sst.Secret"
21- " value" : string
22- }
23- " CAP_AWS_SECRET_KEY" : {
24- " type" : "sst.sst.Secret"
25- " value" : string
26- }
27- " DATABASE_URL_MYSQL" : {
28- " type" : "sst.sst.Secret"
29- " value" : string
30- }
31- " GITHUB_PAT" : {
32- " type" : "sst.sst.Secret"
33- " value" : string
34- }
35- " MyApi" : {
36- " type" : "sst.aws.ApiGatewayV2"
37- " url" : string
38- }
39- " Runner" : {
40- " service" : string
41- " type" : "sst.aws.Service"
42- }
43- " ShardManager" : {
44- " service" : string
45- " type" : "sst.aws.Service"
46- }
47- " Vpc" : {
48- " type" : "sst.aws.Vpc"
49- }
50- }
7+ export interface Resource {
8+ AuroraDB : {
9+ clusterArn : string ;
10+ database : string ;
11+ host : string ;
12+ password : string ;
13+ port : number ;
14+ reader : string ;
15+ secretArn : string ;
16+ type : "sst.aws.Aurora" ;
17+ username : string ;
18+ } ;
19+ CAP_AWS_ACCESS_KEY : {
20+ type : "sst.sst.Secret" ;
21+ value : string ;
22+ } ;
23+ CAP_AWS_SECRET_KEY : {
24+ type : "sst.sst.Secret" ;
25+ value : string ;
26+ } ;
27+ DATABASE_URL_MYSQL : {
28+ type : "sst.sst.Secret" ;
29+ value : string ;
30+ } ;
31+ GITHUB_PAT : {
32+ type : "sst.sst.Secret" ;
33+ value : string ;
34+ } ;
35+ MyApi : {
36+ type : "sst.aws.ApiGatewayV2" ;
37+ url : string ;
38+ } ;
39+ Runner : {
40+ service : string ;
41+ type : "sst.aws.Service" ;
42+ } ;
43+ ShardManager : {
44+ service : string ;
45+ type : "sst.aws.Service" ;
46+ } ;
47+ Vpc : {
48+ type : "sst.aws.Vpc" ;
49+ } ;
50+ }
5151}
5252/// <reference path="sst-env.d.ts" />
5353
54- import "sst"
55- export { }
54+ import "sst" ;
You can’t perform that action at this time.
0 commit comments