creation thread and comments in socket
This commit is contained in:
@@ -88,3 +88,13 @@ export const existingProjectById = async (
|
||||
});
|
||||
return projectData;
|
||||
};
|
||||
export const existingProjectByIdWithoutUser = async (
|
||||
projectId: string,
|
||||
organization: string,
|
||||
) => {
|
||||
const projectData = await projectModel(organization).findOne({
|
||||
_id: projectId,
|
||||
isArchive: false,
|
||||
});
|
||||
return projectData;
|
||||
};
|
||||
Reference in New Issue
Block a user