2
0

🐛 (editor) Fix text bubble regex not compatible with Safari

This commit is contained in:
Baptiste Arnaud
2023-02-13 19:14:35 +01:00
parent 7baa610b2d
commit 2c80e3a1c0
2 changed files with 9 additions and 12 deletions

View File

@ -10,7 +10,6 @@ export const isWriteTypebotForbidden = async (
user: Pick<User, 'email' | 'id'>
) => {
if (
process.env.ADMIN_EMAIL === user.email ||
typebot.collaborators.find(
(collaborator) => collaborator.userId === user.id
)?.type === CollaborationType.WRITE