Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
Potential fix for code scanning alert no. 66: Use of externally-controlled format string
Marc Seitza9a9c0744ae2
diff --git a/ee/stripe/functions/get-quantity-from-plan.ts b/ee/stripe/functions/get-quantity-from-plan.tsindex a5e161d5..33ea6238 100644--- a/ee/stripe/functions/get-quantity-from-plan.ts+++ b/ee/stripe/functions/get-quantity-from-plan.ts@@ -8,7 +8,7 @@ export function getQuantityFromPriceId(priceId?: string) {const plan = getPlanFromPriceId(priceId);return plan.minQuantity ?? 1;} catch (error) {- console.error(`Error getting quantity for priceId: ${priceId}`, error);+ console.error("Error getting quantity for priceId: %s", priceId, error);return 1;}}