Skip to content

Commit

Permalink
fix(Linear Node): Fix pagination issue for get all issues (#5324)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joffcom authored Feb 2, 2023
1 parent 96ec5bc commit f9ecc34
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/nodes-base/nodes/Linear/Queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -149,6 +149,10 @@ export const query = {
name
}
}
pageInfo {
hasNextPage
endCursor
}
}
}`;
},
Expand Down

0 comments on commit f9ecc34

Please sign in to comment.