👕 Fix lint issue
This commit is contained in:
@@ -30,7 +30,7 @@ export class Disqus implements INodeType {
|
||||
{
|
||||
name: 'disqusApi',
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
],
|
||||
properties: [
|
||||
{
|
||||
@@ -81,7 +81,7 @@ export class Disqus implements INodeType {
|
||||
name: 'Get All Posts',
|
||||
value: 'getPosts',
|
||||
description: 'Return a list of posts within a forum',
|
||||
}
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
@@ -316,7 +316,7 @@ export class Disqus implements INodeType {
|
||||
},
|
||||
],
|
||||
default: [],
|
||||
description: 'You may specify filters for your response.'
|
||||
description: 'You may specify filters for your response.',
|
||||
},
|
||||
{
|
||||
displayName: 'Include',
|
||||
@@ -343,7 +343,7 @@ export class Disqus implements INodeType {
|
||||
{
|
||||
name: 'DESC',
|
||||
value: 'desc',
|
||||
}
|
||||
},
|
||||
],
|
||||
default: 'asc',
|
||||
description: 'You may specify order to sort your response.',
|
||||
@@ -469,7 +469,7 @@ export class Disqus implements INodeType {
|
||||
{
|
||||
name: 'DESC',
|
||||
value: 'desc',
|
||||
}
|
||||
},
|
||||
],
|
||||
default: 'asc',
|
||||
description: 'You may specify order to sort your response.',
|
||||
@@ -606,7 +606,7 @@ export class Disqus implements INodeType {
|
||||
{
|
||||
name: 'DESC',
|
||||
value: 'desc',
|
||||
}
|
||||
},
|
||||
],
|
||||
default: 'asc',
|
||||
description: 'You may specify order to sort your response.',
|
||||
@@ -626,7 +626,7 @@ export class Disqus implements INodeType {
|
||||
description: 'Looks up a thread by ID. You may pass us the "ident"<br />query type instead of an ID by including "forum". You may<br />pass us the "link" query type to filter by URL. You must pass<br />the "forum" if you do not have the Pro API Access addon.',
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export async function disqusApiRequest(
|
||||
qs: IDataObject = {},
|
||||
uri?: string,
|
||||
body: IDataObject = {},
|
||||
option: IDataObject = {},
|
||||
option: IDataObject = {}
|
||||
): Promise<any> { // tslint:disable-line:no-any
|
||||
|
||||
const credentials = this.getCredentials('disqusApi') as IDataObject;
|
||||
@@ -38,7 +38,7 @@ export async function disqusApiRequest(
|
||||
method,
|
||||
body,
|
||||
uri: `https://disqus.com/api/3.0/${uri}?${queryStringElements.join('&')}`,
|
||||
json: true
|
||||
json: true,
|
||||
};
|
||||
|
||||
options = Object.assign({}, options, option);
|
||||
@@ -74,7 +74,7 @@ export async function disqusApiRequestAllItems(
|
||||
qs: IDataObject = {},
|
||||
uri?: string,
|
||||
body: IDataObject = {},
|
||||
option: IDataObject = {},
|
||||
option: IDataObject = {}
|
||||
): Promise<any> { // tslint:disable-line:no-any
|
||||
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
Reference in New Issue
Block a user