project changes in socket
This commit is contained in:
@@ -99,6 +99,7 @@ export const GetAllProjects = async (data: GetProjectsInterface) => {
|
||||
if (!existingUser) return { status: "User not found" };
|
||||
const projectDatas = await projectModel(organization)
|
||||
.find({
|
||||
createdBy:userId,
|
||||
isArchive: false,
|
||||
})
|
||||
.select("_id projectName createdBy thumbnail createdAt projectUuid");
|
||||
|
||||
Reference in New Issue
Block a user