clear more ticket, sub and design

This commit is contained in:
Thomas Demirdjian
2025-12-10 15:39:32 +01:00
parent b1ab6a549f
commit aacbd5411e
15 changed files with 1001 additions and 145 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ const resendInstance = RESEND_API_KEY ? new Resend(RESEND_API_KEY) : null;
// Initialisation de Expo SDK
let expo = new Expo();
const EMAIL_FROM = "MusicLand <musicland@minuit.app>";
const EMAIL_FROM = "MusicLand <musicland@musicland.ai>";
const DEFAULT_EMAIL_TITLE = "MusicLand";
function getCollectionRef(collectionName = "") {
+1 -1
View File
@@ -12,7 +12,7 @@ const {
const { ACTIVE_SUBSCRIPTION_STATUSES } = require("./constants");
// Toggle to stop monthly grants for annual subscriptions while keeping logic handy.
const ENABLE_ANNUAL_GRANT_SCHEDULER = false;
const ENABLE_ANNUAL_GRANT_SCHEDULER = true;
const processAnnualSubscriptionAllowances = onSchedule(
{
+1 -1
View File
@@ -14,7 +14,7 @@ const { onRequest } = require("firebase-functions/https");
const resendClient = new Resend(RESEND_API_KEY);
const WELCOME_EMAIL_FROM =
process.env.RESEND_FROM_EMAIL || "MusicLand <musicland@minuit.app>";
process.env.RESEND_FROM_EMAIL || "MusicLand <musicland@musicland.ai>";
const WELCOME_EMAIL_SUBJECT = "Bienvenue sur MusicLand";
exports.testWelcomMail = onRequest(async (req, res) => {