Skip to content

Commit 6bfeb2c

Browse files
committed
remove stripe test keys
1 parent 58fb85e commit 6bfeb2c

File tree

5 files changed

+14
-23
lines changed

5 files changed

+14
-23
lines changed

config/development.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ mongodb:
1010

1111
payment:
1212
stripe:
13-
secretKey: "sk_test_HT0RcNMg3LxROE7v099gcwIs00WUH3Ljm9"
14-
publishKey: "pk_test_VXYW9SvpksV2DC2bVVZYKM2w"
13+
secretKey: "sk_test_**************************"
14+
publishKey: "pk_test_****************************"
1515

1616
eventstore:
1717
poolMax:

config/production.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ mongodb:
1010

1111
payment:
1212
stripe:
13-
secretKey: "sk_test_HT0RcNMg3LxROE7v099gcwIs00WUH3Ljm9"
14-
publishKey: "pk_test_VXYW9SvpksV2DC2bVVZYKM2w"
13+
secretKey: "sk_test_**************************"
14+
publishKey: "pk_test_****************************"
1515

1616
eventstore:
1717
poolMax:
@@ -86,18 +86,17 @@ services:
8686
grpcPort: 7300
8787
mongodb:
8888
uri: ${mongodb.defaultUri}
89-
name: "service-payment"
89+
name: "service-billing"
9090
options:
9191

92-
plan:
92+
payment:
9393
port: 9500
9494
grpcPort: 7500
9595
mongodb:
9696
uri: ${mongodb.defaultUri}
9797
name: "service-payment"
9898
options:
9999

100-
101100
gateway:
102101
admin:
103102
port: 4000

config/staging.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ mongodb:
1010

1111
payment:
1212
stripe:
13-
secretKey: "sk_test_HT0RcNMg3LxROE7v099gcwIs00WUH3Ljm9"
14-
publishKey: "pk_test_VXYW9SvpksV2DC2bVVZYKM2w"
13+
secretKey: "sk_test_**************************"
14+
publishKey: "pk_test_****************************"
1515

1616
eventstore:
1717
poolMax:
@@ -86,18 +86,17 @@ services:
8686
grpcPort: 7300
8787
mongodb:
8888
uri: ${mongodb.defaultUri}
89-
name: "service-payment"
89+
name: "service-billing"
9090
options:
9191

92-
plan:
92+
payment:
9393
port: 9500
9494
grpcPort: 7500
9595
mongodb:
9696
uri: ${mongodb.defaultUri}
9797
name: "service-payment"
9898
options:
9999

100-
101100
gateway:
102101
admin:
103102
port: 4000

config/test.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ mongodb:
1010

1111
payment:
1212
stripe:
13-
secretKey: "sk_test_HT0RcNMg3LxROE7v099gcwIs00WUH3Ljm9"
14-
publishKey: "pk_test_VXYW9SvpksV2DC2bVVZYKM2w"
13+
secretKey: "sk_test_**************************"
14+
publishKey: "pk_test_****************************"
1515

1616
eventstore:
1717
poolMax:
@@ -86,18 +86,17 @@ services:
8686
grpcPort: 7300
8787
mongodb:
8888
uri: ${mongodb.defaultUri}
89-
name: "service-payment"
89+
name: "service-billing"
9090
options:
9191

92-
plan:
92+
payment:
9393
port: 9500
9494
grpcPort: 7500
9595
mongodb:
9696
uri: ${mongodb.defaultUri}
9797
name: "service-payment"
9898
options:
9999

100-
101100
gateway:
102101
admin:
103102
port: 4000

libs/nest-multi-tenant/src/multi-tenant.service.ts

-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export class MultiTenantService {
1313
) {}
1414

1515
async createMongoOptions(): Promise<MongoModuleOptions> {
16-
console.log('****************');
1716
let req = null;
1817

1918
if (this.context) {
@@ -22,14 +21,9 @@ export class MultiTenantService {
2221
req = this.request;
2322
}
2423

25-
console.log('****************');
26-
2724
const dbUri = process.env.DATABASE_URI || AppConfig.services?.project?.mongodb?.uri;
2825
const dbUriWithName = (process.env.DATABASE_URI || AppConfig.services?.project?.mongodb?.uri) + AppConfig.services?.project?.mongodb?.name;
2926

30-
console.log('********dbUri********', dbUri);
31-
console.log('********dbUriWithName********', dbUriWithName);
32-
3327
if (req === null || req === undefined) {
3428
return {
3529
uri: process.env.DATABASE_URI || dbUriWithName,

0 commit comments

Comments
 (0)