diff --git a/packages/nodes-base/nodes/Linear/Queries.ts b/packages/nodes-base/nodes/Linear/Queries.ts index 861b404d3fb66..0bd897a0bdfe7 100644 --- a/packages/nodes-base/nodes/Linear/Queries.ts +++ b/packages/nodes-base/nodes/Linear/Queries.ts @@ -122,8 +122,8 @@ export const query = { }`; }, getIssues() { - return `query Issue ($first: Int){ - issues (first: $first){ + return `query Issue ($first: Int, $after: String){ + issues (first: $first, after: $after){ nodes { id, title, @@ -149,6 +149,10 @@ export const query = { name } } + pageInfo { + hasNextPage + endCursor + } } }`; },