gergo/workspaceDefaultPlan (#3561)

* feat(gatekeeper): create workspaces with trial plan by default

* feat(gatekeeper): default to starter trial plan

* fix(eventBus): fix tests
This commit is contained in:
Gergő Jedlicska
2024-11-27 09:51:32 +01:00
committed by GitHub
parent c841bb45f2
commit f381dc3d9d
12 changed files with 98 additions and 60 deletions
@@ -52,6 +52,7 @@ const command: CommandModule<
await upsertPaidWorkspacePlanFactory({ db })({
workspacePlan: {
createdAt: new Date(),
workspaceId: workspace.id,
name: args.plan,
status: args.status