wall Controller updated
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user