feat: added auto ghost user creation and fixed ghost user creation in v1

This commit is contained in:
=
2024-10-14 17:37:51 +05:30
parent 7fdcb29bab
commit 96c0e718d0
5 changed files with 166 additions and 32 deletions
@@ -27,8 +27,8 @@ export const projectBotServiceFactory = ({
}: TProjectBotServiceFactoryDep) => {
const getBotKeyFn = getBotKeyFnFactory(projectBotDAL, projectDAL);
const getBotKey = async (projectId: string) => {
return getBotKeyFn(projectId);
const getBotKey = async (projectId: string, shouldGetBotKey?: boolean) => {
return getBotKeyFn(projectId, shouldGetBotKey);
};
const findBotByProjectId = async ({