🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update UsageService to include "Zam" in organization name check for monthly usage calculation
Bill Yangfc8f29b62974
diff --git a/server/src/services/usageService.ts b/server/src/services/usageService.tsindex faaba16ef..bf42dd3b3 100644--- a/server/src/services/usageService.ts+++ b/server/src/services/usageService.ts@@ -95,7 +95,7 @@ export class UsageService {createdAt: string;name: string;}): Promise<[number, string | null]> {- if (orgData.name === "tomato 2") {+ if (orgData.name === "tomato 2" || orgData.name === "Zam") {return [Infinity, this.getStartOfMonth()];}if (!orgData.stripeCustomerId) {