feat: v2 organization bookings endpoints (#18875)
* chore: extra team bookings e2e tests * feat: v2 organizations bookings endpoints * feat: v2 organizations bookings endpoints * test * revert seed.ts change
This commit is contained in:
1 parent
14ec3813ee
commit
da02cd06d6
11 files changed
+986
-2
No files matched your search
@@ -19,7 +19,10 @@ export class OrganizationRepositoryFixture {
|
||||
async create(data: Prisma.TeamCreateInput) {
|
||||
return await this.prismaWriteClient.$transaction(async (prisma) => {
|
||||
const team = await prisma.team.create({
|
||||
data,
|
||||
data: {
|
||||
...data,
|
||||
isOrganization: true,
|
||||
},
|
||||
});
|
||||
|
||||
await prisma.organizationSettings.create({
|
||||
|
||||
Reference in new issue
Block a user