Skip to content

Commit

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

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

return organizationAfterChanges as OrganizationEntity;
}
Expand Down

0 comments on commit ffaf62a

Please sign in to comment.