fix: create platform handler (#14288)
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
This commit is contained in:
co-authored by
Keith Williams
parent
e3562cdfb5
commit
a597defd03
@@ -25,6 +25,7 @@ export class OrganizationRepository {
|
||||
autoAcceptEmail: string;
|
||||
seats: number | null;
|
||||
pricePerSeat: number | null;
|
||||
isPlatform: boolean;
|
||||
};
|
||||
owner: {
|
||||
id: number;
|
||||
@@ -50,6 +51,7 @@ export class OrganizationRepository {
|
||||
...(IS_TEAM_BILLING_ENABLED ? { requestedSlug: orgData.slug } : {}),
|
||||
orgSeats: orgData.seats,
|
||||
orgPricePerSeat: orgData.pricePerSeat,
|
||||
isPlatform: orgData.isPlatform,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -110,6 +110,7 @@ export const createHandler = async ({ input, ctx }: CreateOptions) => {
|
||||
autoAcceptEmail,
|
||||
seats: seats ?? null,
|
||||
pricePerSeat: pricePerSeat ?? null,
|
||||
isPlatform,
|
||||
},
|
||||
owner: {
|
||||
id: orgOwner.id,
|
||||
|
||||
Reference in New Issue
Block a user