mirror of
https://github.com/docmost/docmost.git
synced 2025-11-19 08:41:11 +10:00
* configurable trial days
* hide create sso provider in cloud
This commit is contained in:
@ -104,7 +104,10 @@ export class WorkspaceService {
|
||||
hostname = await this.generateHostname(
|
||||
createWorkspaceDto.hostname ?? createWorkspaceDto.name,
|
||||
);
|
||||
trialEndAt = addDays(new Date(), 14);
|
||||
trialEndAt = addDays(
|
||||
new Date(),
|
||||
this.environmentService.getBillingTrialDays(),
|
||||
);
|
||||
status = WorkspaceStatus.Active;
|
||||
plan = 'standard';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user