We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 511a4a2 commit fbddf4cCopy full SHA for fbddf4c
1 file changed
packages/sync-engine/src/stripeSync.ts
@@ -51,6 +51,8 @@ export class StripeSync {
51
postgresClient: PostgresClient
52
53
constructor(private config: StripeSyncConfig) {
54
+ this.config.schema = config.schema || DEFAULT_SCHEMA
55
+
56
this.stripe = new Stripe(config.stripeSecretKey, {
57
// https://github.com/stripe/stripe-node#configuration
58
// @ts-ignore
@@ -86,7 +88,7 @@ export class StripeSync {
86
88
}
87
89
90
this.postgresClient = new PostgresClient({
- schema: config.schema || DEFAULT_SCHEMA,
91
+ schema: this.config.schema,
92
poolConfig,
93
})
94
0 commit comments