Collaboration completed for builder,dashboard, visualization for API and socket

This commit is contained in:
2025-06-04 17:25:46 +05:30
parent 591d86c274
commit 5216ee190a
40 changed files with 1045 additions and 674 deletions

View File

@@ -84,7 +84,6 @@ export const CreateAssetController = async (
break;
}
} catch (error) {
console.log("error: ", error);
res.status(500).json({
message: "Unknown error",
});
@@ -180,9 +179,7 @@ export const GetAssetController = async (
});
break;
case "floorItems not found":
res.status(404).json({
message: "floorItems not found",
});
res.status(200).json([]);
break;
case "Success":
res.status(200).json(result.data);