mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
fix(HelpScout Node): Fix tag search not working when getting all conversations (#5239)
This commit is contained in:
parent
901e94dc01
commit
6d36782463
|
@ -11,6 +11,7 @@ export interface IConversation {
|
|||
mailboxId?: number;
|
||||
status?: string;
|
||||
subject?: string;
|
||||
tag?: IDataObject[];
|
||||
tags?: IDataObject[];
|
||||
threads?: IDataObject[];
|
||||
type?: string;
|
||||
|
|
|
@ -248,7 +248,12 @@ export class HelpScout implements INodeType {
|
|||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
const options = this.getNodeParameter('options', i);
|
||||
if (options.tags) {
|
||||
qs.tag = options.tags.toString();
|
||||
}
|
||||
Object.assign(qs, options);
|
||||
delete qs.tags;
|
||||
|
||||
if (returnAll) {
|
||||
responseData = await helpscoutApiRequestAllItems.call(
|
||||
this,
|
||||
|
|
Loading…
Reference in a new issue