Skip to content

Commit

Permalink
fix: create platform handler (#14288)
Browse files Browse the repository at this point in the history
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
  • Loading branch information
supalarry and keithwillcode committed Apr 5, 2024
1 parent e3562cd commit a597def
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lib/server/repository/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class OrganizationRepository {
autoAcceptEmail: string;
seats: number | null;
pricePerSeat: number | null;
isPlatform: boolean;
};
owner: {
id: number;
Expand All @@ -50,6 +51,7 @@ export class OrganizationRepository {
...(IS_TEAM_BILLING_ENABLED ? { requestedSlug: orgData.slug } : {}),
orgSeats: orgData.seats,
orgPricePerSeat: orgData.pricePerSeat,
isPlatform: orgData.isPlatform,
},
},
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export const createHandler = async ({ input, ctx }: CreateOptions) => {
autoAcceptEmail,
seats: seats ?? null,
pricePerSeat: pricePerSeat ?? null,
isPlatform,
},
owner: {
id: orgOwner.id,
Expand Down

0 comments on commit a597def

Please sign in to comment.