feat(server): refactor mail queue (#15204)

This commit is contained in:
DarkSky
2026-07-07 08:38:16 +08:00
committed by GitHub
parent 9581432d21
commit 998b255afd
72 changed files with 8386 additions and 763 deletions
@@ -148,6 +148,10 @@ export class SelfhostTeamSubscriptionManager extends SubscriptionManager {
name: 'TeamLicense',
to: userEmail,
props: { license: key },
metadata: {
dedupeKey: `selfhost-license:${key}`,
source: { trusted: false },
},
});
await this.upsertStripeProviderSubscription(