@mediagraph/mcp 1.0.10 → 1.0.11

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1218,8 +1218,7 @@ var MediagraphClient = class {
1218
1218
  return this.request("GET", `/api/comments/${id}`);
1219
1219
  }
1220
1220
  async createComment(type, id, data) {
1221
- return this.request("POST", "/api/comments", {
1222
- params: { type, id },
1221
+ return this.request("POST", `/api/comments?type=${encodeURIComponent(type)}&id=${id}`, {
1223
1222
  body: { comment: data }
1224
1223
  });
1225
1224
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediagraph/mcp",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "MCP server for Mediagraph - Media Asset Management Platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",