New version API collaboration and tested for Project

This commit is contained in:
2025-05-29 19:11:26 +05:30
parent 72faf6782e
commit 2bb3814d75
25 changed files with 526 additions and 88 deletions

View File

@@ -56,7 +56,14 @@ export const WallSetup = async (
});
switch (result.status) {
case "User not found":
res.status(404).json({ message: "User not found" });
res.status(404).json({
message: "User not found",
});
break;
case "Project not found":
res.status(404).json({
message: "Project not found",
});
break;
case "Updated successfully":
res.status(200).json(result.data);
@@ -96,7 +103,14 @@ export const WallGet = async (
switch (result.status) {
case "User not found":
res.status(404).json({ message: "User not found" });
res.status(404).json({
message: "User not found",
});
break;
case "Project not found":
res.status(404).json({
message: "Project not found",
});
break;
case "wallitems not found":
res.status(404).json({
@@ -141,7 +155,14 @@ export const WallDelete = async (
switch (result.status) {
case "User not found":
res.status(404).json({ message: "User not found" });
res.status(404).json({
message: "User not found",
});
break;
case "Project not found":
res.status(404).json({
message: "Project not found",
});
break;
case "model not found":
res.status(404).json({