n8n-nodes-github-copilot 1.1.5 → 1.1.6
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.
|
@@ -246,6 +246,8 @@ class GitHubCopilot {
|
|
|
246
246
|
if ((manualCredentials === null || manualCredentials === void 0 ? void 0 : manualCredentials.accessToken) && typeof manualCredentials.accessToken === 'string') {
|
|
247
247
|
accessToken = manualCredentials.accessToken;
|
|
248
248
|
credentialType = 'Manual Token';
|
|
249
|
+
const tokenPrefix = accessToken.substring(0, 4);
|
|
250
|
+
console.log('Using manual token with prefix:', tokenPrefix + '...');
|
|
249
251
|
}
|
|
250
252
|
else {
|
|
251
253
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Manual token credentials not found or invalid. Please configure Manual Token authentication or switch to OAuth2.');
|
package/package.json
CHANGED