n8n-nodes-github-copilot 3.31.3 → 3.31.4
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.
|
@@ -84,6 +84,7 @@ class GitHubCopilotAuthHelper {
|
|
|
84
84
|
}
|
|
85
85
|
async webhook() {
|
|
86
86
|
const req = this.getRequestObject();
|
|
87
|
+
const res = this.getResponseObject();
|
|
87
88
|
const clientId = this.getNodeParameter("clientId");
|
|
88
89
|
const scopes = this.getNodeParameter("scopes");
|
|
89
90
|
if (req.method === "POST") {
|
|
@@ -148,12 +149,10 @@ class GitHubCopilotAuthHelper {
|
|
|
148
149
|
}
|
|
149
150
|
const webhookUrl = this.getNodeWebhookUrl("default");
|
|
150
151
|
const html = generateAuthPage(webhookUrl);
|
|
152
|
+
res.setHeader("Content-Type", "text/html; charset=utf-8");
|
|
153
|
+
res.status(200).send(html);
|
|
151
154
|
return {
|
|
152
|
-
|
|
153
|
-
status: 200,
|
|
154
|
-
headers: { "Content-Type": "text/html; charset=utf-8" },
|
|
155
|
-
body: html,
|
|
156
|
-
},
|
|
155
|
+
noWebhookResponse: true,
|
|
157
156
|
};
|
|
158
157
|
}
|
|
159
158
|
}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.4",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows - access GPT-5, Claude, Gemini and more using your Copilot subscription",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.4",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows - access GPT-5, Claude, Gemini and more using your Copilot subscription",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",
|