mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -35,7 +35,7 @@ export class BitbucketTrigger implements INodeType {
|
||||
{
|
||||
name: 'bitbucketApi',
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
],
|
||||
webhooks: [
|
||||
{
|
||||
@@ -75,9 +75,9 @@ export class BitbucketTrigger implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'user'
|
||||
]
|
||||
}
|
||||
'user',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUsersEvents',
|
||||
@@ -94,9 +94,9 @@ export class BitbucketTrigger implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'team'
|
||||
]
|
||||
}
|
||||
'team',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTeams',
|
||||
@@ -112,9 +112,9 @@ export class BitbucketTrigger implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'team'
|
||||
]
|
||||
}
|
||||
'team',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTeamEvents',
|
||||
@@ -131,9 +131,9 @@ export class BitbucketTrigger implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'repository'
|
||||
]
|
||||
}
|
||||
'repository',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getRepositories',
|
||||
@@ -149,9 +149,9 @@ export class BitbucketTrigger implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'repository'
|
||||
]
|
||||
}
|
||||
'repository',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getRepositoriesEvents',
|
||||
@@ -351,7 +351,7 @@ export class BitbucketTrigger implements INodeType {
|
||||
}
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray(req.body)
|
||||
this.helpers.returnJsonArray(req.body),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ export async function bitbucketApiRequest(this: IHookFunctions | IExecuteFunctio
|
||||
qs,
|
||||
body,
|
||||
uri: uri ||`https://api.bitbucket.org/2.0${resource}`,
|
||||
json: true
|
||||
json: true,
|
||||
};
|
||||
options = Object.assign({}, options, option);
|
||||
if (Object.keys(options.body).length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user