diff --git a/apps/ai/package.json b/apps/ai/package.json index a0dc4943ec..8eaf474ed1 100644 --- a/apps/ai/package.json +++ b/apps/ai/package.json @@ -1,6 +1,6 @@ { "name": "@calcom/ai", - "version": "1.1.0", + "version": "1.1.1", "private": true, "author": "Cal.com Inc.", "dependencies": { diff --git a/apps/ai/src/utils/extractUsers.ts b/apps/ai/src/utils/extractUsers.ts index b7c1345d59..0a5686bef1 100644 --- a/apps/ai/src/utils/extractUsers.ts +++ b/apps/ai/src/utils/extractUsers.ts @@ -1,8 +1,10 @@ +import prisma from "@calcom/prisma"; + +import type { UserList } from "../types/user"; + /* * Extracts usernames (@Example) and emails (hi@example.com) from a string */ -import type { UserList } from "../types/user"; - export const extractUsers = async (text: string) => { const usernames = text.match(/(? username.slice(1)); const emails = text.match(/[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+/g); diff --git a/turbo.json b/turbo.json index 07901cc70b..977c976d2e 100644 --- a/turbo.json +++ b/turbo.json @@ -47,6 +47,7 @@ }, "@calcom/ai#build": { "env": [ + "FRONTEND_URL", "BACKEND_URL", "APP_ID", "APP_URL",