mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
👕 Fix lint issue
This commit is contained in:
parent
f79bc633c0
commit
0dd760f67d
|
@ -343,7 +343,7 @@ export class Twist implements INodeType {
|
|||
|
||||
responseData = await twistApiRequest.call(this, 'GET', '/comments/get', {}, qs);
|
||||
if (qs.as_ids) {
|
||||
responseData = (responseData as Array<number>).map(id => ({ ID: id }));
|
||||
responseData = (responseData as number[]).map(id => ({ ID: id }));
|
||||
}
|
||||
}
|
||||
//https://developer.twist.com/v3/#update-comment
|
||||
|
@ -683,7 +683,7 @@ export class Twist implements INodeType {
|
|||
|
||||
responseData = await twistApiRequest.call(this, 'GET', '/threads/get', {}, qs);
|
||||
if (qs.as_ids) {
|
||||
responseData = (responseData as Array<number>).map(id => ({ ID: id }));
|
||||
responseData = (responseData as number[]).map(id => ({ ID: id }));
|
||||
}
|
||||
}
|
||||
//https://developer.twist.com/v3/#update-thread
|
||||
|
|
Loading…
Reference in a new issue