New version API collaboration and tested for Project
This commit is contained in:
@@ -60,12 +60,12 @@ export const CreateAssetController = async (
|
||||
|
||||
switch (result.status) {
|
||||
case "User not found":
|
||||
res.status(200).json({
|
||||
res.status(404).json({
|
||||
message: "User not found",
|
||||
});
|
||||
break;
|
||||
case "Project not found":
|
||||
res.status(200).json({
|
||||
res.status(404).json({
|
||||
message: "Project not found",
|
||||
});
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user