chore: Serialize domain policies on team (#1970)
* domain policies exposed on team, consistency * fix: Remove usage of isAdmin in frontend * test
This commit is contained in:
@@ -95,6 +95,10 @@ export async function buildUser(overrides: Object = {}) {
|
||||
);
|
||||
}
|
||||
|
||||
export async function buildAdmin(overrides: Object = {}) {
|
||||
return buildUser({ ...overrides, isAdmin: true });
|
||||
}
|
||||
|
||||
export async function buildInvite(overrides: Object = {}) {
|
||||
if (!overrides.teamId) {
|
||||
const team = await buildTeam();
|
||||
|
||||
Reference in New Issue
Block a user