mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Small fixes to Gitlab node before merge
This commit is contained in:
@@ -21,6 +21,7 @@ export class Gitlab implements INodeType {
|
||||
icon: 'file:gitlab.png',
|
||||
group: ['input'],
|
||||
version: 1,
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
description: 'Retrieve data from Gitlab API.',
|
||||
defaults: {
|
||||
name: 'Gitlab',
|
||||
@@ -733,7 +734,7 @@ export class Gitlab implements INodeType {
|
||||
description: 'Sort by priority.'
|
||||
},
|
||||
],
|
||||
default: 'desc',
|
||||
default: 'created_at',
|
||||
description: 'The order the issues should be returned in.',
|
||||
},
|
||||
{
|
||||
@@ -816,7 +817,7 @@ export class Gitlab implements INodeType {
|
||||
repository = this.getNodeParameter('repository', i) as string;
|
||||
}
|
||||
|
||||
const baseEndpoint = `/projects/${owner}%2F${repository}`
|
||||
const baseEndpoint = `/projects/${owner}%2F${repository}`;
|
||||
|
||||
if (resource === 'issue') {
|
||||
if (operation === 'create') {
|
||||
|
||||
Reference in New Issue
Block a user