wall Controller updated

This commit is contained in:
2025-05-29 15:53:33 +05:30
parent 1609f64695
commit 72faf6782e

View File

@@ -1,5 +1,9 @@
import { Response } from "express";
import { WallItems } from "../../../../shared/services/builder/wallService.ts";
import {
deleteWallItems,
getWallItems,
setWallItems,
} from "../../../../shared/services/builder/wallService.ts";
import { error } from "console";
import { AuthenticatedRequest } from "../../../../shared/utils/token.ts";
export const WallSetup = async (
@@ -37,7 +41,7 @@ export const WallSetup = async (
});
return;
}
const result = await WallItems.setWallItems({
const result = await setWallItems({
projectId,
modelUuid,
modelName,
@@ -84,7 +88,7 @@ export const WallGet = async (
});
return;
}
const result = await WallItems.getWallItems({
const result = await getWallItems({
organization,
userId,
projectId,
@@ -127,7 +131,7 @@ export const WallDelete = async (
});
return;
}
const result = await WallItems.deleteWallItems({
const result = await deleteWallItems({
organization,
userId,
projectId,