mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
comit for PR
This commit is contained in:
@@ -141,11 +141,11 @@ export class Github implements INodeType {
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Get all Repositories',
|
name: 'Get all Repositories',
|
||||||
value: 'getAll',
|
value: 'getRepositories',
|
||||||
description: 'Returns all repositories of an organization',
|
description: 'Returns all repositories of an organization',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
default: 'getAll',
|
default: 'getRepositories',
|
||||||
description: 'The operation to perform.',
|
description: 'The operation to perform.',
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -415,6 +415,7 @@ export class Github implements INodeType {
|
|||||||
hide: {
|
hide: {
|
||||||
resource: [
|
resource: [
|
||||||
'user',
|
'user',
|
||||||
|
'organization',
|
||||||
],
|
],
|
||||||
operation: [
|
operation: [
|
||||||
'getRepositories',
|
'getRepositories',
|
||||||
@@ -1869,7 +1870,7 @@ export class Github implements INodeType {
|
|||||||
'user:getRepositories',
|
'user:getRepositories',
|
||||||
'release:getAll',
|
'release:getAll',
|
||||||
'review:getAll',
|
'review:getAll',
|
||||||
'organization:getAll',
|
'organization:getRepositories',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -1900,7 +1901,7 @@ export class Github implements INodeType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let repository = '';
|
let repository = '';
|
||||||
if (fullOperation !== 'user:getRepositories' && fullOperation !== 'user:invite' && fullOperation !== 'organization:getAll') {
|
if (fullOperation !== 'user:getRepositories' && fullOperation !== 'user:invite' && fullOperation !== 'organization:getRepositories') {
|
||||||
repository = this.getNodeParameter('repository', i) as string;
|
repository = this.getNodeParameter('repository', i) as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2270,7 +2271,7 @@ export class Github implements INodeType {
|
|||||||
|
|
||||||
}
|
}
|
||||||
} else if (resource === 'organization') {
|
} else if (resource === 'organization') {
|
||||||
if (operation === 'getAll') {
|
if (operation === 'getRepositories') {
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
// getRepositories
|
// getRepositories
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user