@ourroadmaps/mcp 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1319,7 +1319,7 @@ function registerUpdateRoadmapItem(server) {
|
|
|
1319
1319
|
updates.effort = effort;
|
|
1320
1320
|
if (order !== undefined)
|
|
1321
1321
|
updates.order = order;
|
|
1322
|
-
const roadmap2 = await client2.updateRoadmap(id, updates);
|
|
1322
|
+
const roadmap2 = Object.keys(updates).length > 0 ? await client2.updateRoadmap(id, updates) : await client2.getRoadmap(id);
|
|
1323
1323
|
const phaseUpdates = {};
|
|
1324
1324
|
if (designDescription !== undefined) {
|
|
1325
1325
|
await client2.updateDesignDescription(id, designDescription);
|