updated PNID scrubbing for number values

This commit is contained in:
Jonathan Barrow
2023-11-17 10:27:16 -05:00
parent 80f457c2f7
commit 6db67698e2

View File

@@ -273,9 +273,9 @@ PNIDSchema.method('scrub', async function scrub() {
this.connections.stripe.customer_id = '';
this.connections.stripe.subscription_id = '';
this.connections.stripe.price_id = '';
this.connections.stripe.tier_level = '';
this.connections.stripe.tier_level = 0;
this.connections.stripe.tier_name = '';
this.connections.stripe.latest_webhook_timestamp = '';
this.connections.stripe.latest_webhook_timestamp = 0;
});
PNIDSchema.method('hasPermission', function hasPermission(flag: PNIDPermissionFlag): boolean {