wall Controller updated
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
import { Response } from "express";
|
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 { error } from "console";
|
||||||
import { AuthenticatedRequest } from "../../../../shared/utils/token.ts";
|
import { AuthenticatedRequest } from "../../../../shared/utils/token.ts";
|
||||||
export const WallSetup = async (
|
export const WallSetup = async (
|
||||||
@@ -37,7 +41,7 @@ export const WallSetup = async (
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const result = await WallItems.setWallItems({
|
const result = await setWallItems({
|
||||||
projectId,
|
projectId,
|
||||||
modelUuid,
|
modelUuid,
|
||||||
modelName,
|
modelName,
|
||||||
@@ -84,7 +88,7 @@ export const WallGet = async (
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const result = await WallItems.getWallItems({
|
const result = await getWallItems({
|
||||||
organization,
|
organization,
|
||||||
userId,
|
userId,
|
||||||
projectId,
|
projectId,
|
||||||
@@ -127,7 +131,7 @@ export const WallDelete = async (
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const result = await WallItems.deleteWallItems({
|
const result = await deleteWallItems({
|
||||||
organization,
|
organization,
|
||||||
userId,
|
userId,
|
||||||
projectId,
|
projectId,
|
||||||
|
|||||||
Reference in New Issue
Block a user