|
@@ -152,10 +152,9 @@ module.exports = {
|
|
|
}
|
|
|
|
|
|
if (ENABLE_MODEL_SERVICE) {
|
|
|
- let res = null;
|
|
|
|
|
|
- res = await request.post(
|
|
|
- `${MODEL_BASE_URL}/api/model/copy`,
|
|
|
+ const res = await request.post(
|
|
|
+ `${MODEL_BASE_URL}/api/model/model/copy`,
|
|
|
JSON.stringify({
|
|
|
oldProjectId: String(page.projectId),
|
|
|
newProjectId: String(projectId),
|