Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: create platform handler isPlatform flag #14288

Merged
merged 9 commits into from
Apr 5, 2024
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 @@ -44,6 +45,7 @@ export class OrganizationRepository {
isOrganizationVerified: true,
isOrganizationConfigured: orgData.isOrganizationConfigured,
orgAutoAcceptEmail: orgData.autoAcceptEmail,
isPlatform: orgData.isPlatform,
},
},
metadata: {
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