@zereight/mcp-gitlab 1.0.61 → 1.0.62

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/build/index.js +2 -2
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -97,7 +97,7 @@ const DEFAULT_HEADERS = {
97
97
  "Content-Type": "application/json",
98
98
  };
99
99
  if (IS_OLD) {
100
- DEFAULT_HEADERS["Private-Token"] = `Bearer ${GITLAB_PERSONAL_ACCESS_TOKEN}`;
100
+ DEFAULT_HEADERS["Private-Token"] = `${GITLAB_PERSONAL_ACCESS_TOKEN}`;
101
101
  }
102
102
  else {
103
103
  DEFAULT_HEADERS["Authorization"] = `Bearer ${GITLAB_PERSONAL_ACCESS_TOKEN}`;
@@ -2069,7 +2069,7 @@ async function getRepositoryTree(options) {
2069
2069
  "Content-Type": "application/json",
2070
2070
  };
2071
2071
  if (IS_OLD) {
2072
- headers["Private-Token"] = `Bearer ${GITLAB_PERSONAL_ACCESS_TOKEN}`;
2072
+ headers["Private-Token"] = `${GITLAB_PERSONAL_ACCESS_TOKEN}`;
2073
2073
  }
2074
2074
  else {
2075
2075
  headers["Authorization"] = `Bearer ${GITLAB_PERSONAL_ACCESS_TOKEN}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zereight/mcp-gitlab",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "MCP server for using the GitLab API",
5
5
  "license": "MIT",
6
6
  "author": "zereight",