chore(workspaces): drop defaultLogoIndex (#3898)
This commit is contained in:
@@ -76,7 +76,6 @@ type WorkspaceCreateArgs = {
|
||||
slug?: string | null
|
||||
description: string | null
|
||||
logo: string | null
|
||||
defaultLogoIndex: number
|
||||
}
|
||||
userResourceAccessLimits: MaybeNullOrUndefined<TokenResourceIdentifier[]>
|
||||
}
|
||||
|
||||
@@ -22,10 +22,7 @@ export const getDiscoverableWorkspacesForUserFactory =
|
||||
async ({
|
||||
userId
|
||||
}: GetDiscoverableWorkspaceForUserArgs): Promise<
|
||||
Pick<
|
||||
Workspace,
|
||||
'id' | 'name' | 'slug' | 'description' | 'logo' | 'defaultLogoIndex'
|
||||
>[]
|
||||
Pick<Workspace, 'id' | 'name' | 'slug' | 'description' | 'logo'>[]
|
||||
> => {
|
||||
const userEmails = await findEmailsByUserId({ userId })
|
||||
const userVerifiedDomains = userEmails
|
||||
|
||||
Reference in New Issue
Block a user