Skip to content

Commit

Permalink
Revert "fix(api): always initiate free trial"
Browse files Browse the repository at this point in the history
This reverts commit ffaf62a.
  • Loading branch information
ChmaraX committed Oct 8, 2024
1 parent ffaf62a commit ce0f3e3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ export class CreateOrganization {
})
);

await this.startFreeTrial(user._id, createdOrganization._id);
if (organizationAfterChanges !== null) {
await this.startFreeTrial(user._id, organizationAfterChanges._id);
}

return organizationAfterChanges as OrganizationEntity;
}
Expand Down

0 comments on commit ce0f3e3

Please sign in to comment.