mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(HelpScout Node): Fix tag search not working when getting all conversations (#5239)
This commit is contained in:
committed by
GitHub
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,
|
||||
|
||||
Reference in New Issue
Block a user