@softeria/ms-365-mcp-server 0.20.2 → 0.20.3
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/graph-client.js +2 -2
- package/package.json +1 -1
package/dist/graph-client.js
CHANGED
|
@@ -17,14 +17,14 @@ class GraphClient {
|
|
|
17
17
|
throw new Error("No access token available");
|
|
18
18
|
}
|
|
19
19
|
try {
|
|
20
|
-
|
|
20
|
+
let response = await this.performRequest(endpoint, accessToken, options);
|
|
21
21
|
if (response.status === 401 && refreshToken) {
|
|
22
22
|
await this.refreshAccessToken(refreshToken);
|
|
23
23
|
accessToken = this.accessToken || accessToken;
|
|
24
24
|
if (!accessToken) {
|
|
25
25
|
throw new Error("Failed to refresh access token");
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
response = await this.performRequest(endpoint, accessToken, options);
|
|
28
28
|
}
|
|
29
29
|
if (response.status === 403) {
|
|
30
30
|
const errorText = await response.text();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.3",
|
|
4
4
|
"description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|