fix(Linear Node): Fix pagination issue for get all issues (#5324)

This commit is contained in:
Jonathan Bennetts 2023-02-02 08:32:35 +00:00 committed by GitHub
parent 96ec5bc880
commit f9ecc34b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
}
}`;
},