fix: Provide calOrigin for organization embeds (#12380)
This commit is contained in:
1 parent
ada0ef242b
commit
c9b50ffb78
7 files changed
+459
-166
No files matched your search
@@ -460,7 +460,7 @@ const createUserFixture = (user: UserWithIncludes, page: Page) => {
|
||||
}
|
||||
return membership;
|
||||
},
|
||||
getOrg: async () => {
|
||||
getOrgMembership: async () => {
|
||||
return prisma.membership.findFirstOrThrow({
|
||||
where: {
|
||||
userId: user.id,
|
||||
@@ -471,7 +471,13 @@ const createUserFixture = (user: UserWithIncludes, page: Page) => {
|
||||
},
|
||||
},
|
||||
},
|
||||
include: { team: { select: { children: true, metadata: true, name: true } } },
|
||||
include: {
|
||||
team: {
|
||||
include: {
|
||||
children: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
},
|
||||
getFirstEventAsOwner: async () =>
|
||||
|
||||
Reference in new issue
Block a user