Merge branch 'branch-1' into branch-v2
This commit is contained in:
@@ -43,7 +43,7 @@ export const createProject = async (data: CreateProjectInput) => {
|
||||
return {
|
||||
status: "user_not_found",
|
||||
};
|
||||
}
|
||||
}
|
||||
const projectExisting = await existingProject(
|
||||
projectUuid,
|
||||
organization,
|
||||
@@ -125,7 +125,7 @@ export const DeleteProject = async (data: ProjectInterface) => {
|
||||
{ isArchive: true, DeletedAt: new Date() },
|
||||
{ new: true }
|
||||
);
|
||||
if (updateProject) return { status: "Success",project: updateProject };
|
||||
if (updateProject) return { status: "Success", project: updateProject };
|
||||
} catch (error: unknown) {
|
||||
return { status: error };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user