(customDomains) Fix custom domain update feedback

This commit is contained in:
Baptiste Arnaud
2023-08-21 15:32:27 +02:00
parent dc4c19a755
commit c08e0cdb0a
19 changed files with 506 additions and 104 deletions

View File

@@ -2,7 +2,7 @@ import { MemberInWorkspace, User } from '@typebot.io/prisma'
export const isWriteWorkspaceForbidden = (
workspace: {
members: MemberInWorkspace[]
members: Pick<MemberInWorkspace, 'userId' | 'role'>[]
},
user: Pick<User, 'email' | 'id'>
) => {