mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(Linear Node): Fix pagination issue for get all issues (#5324)
This commit is contained in:
parent
96ec5bc880
commit
f9ecc34b10
|
@ -122,8 +122,8 @@ export const query = {
|
||||||
}`;
|
}`;
|
||||||
},
|
},
|
||||||
getIssues() {
|
getIssues() {
|
||||||
return `query Issue ($first: Int){
|
return `query Issue ($first: Int, $after: String){
|
||||||
issues (first: $first){
|
issues (first: $first, after: $after){
|
||||||
nodes {
|
nodes {
|
||||||
id,
|
id,
|
||||||
title,
|
title,
|
||||||
|
@ -149,6 +149,10 @@ export const query = {
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pageInfo {
|
||||||
|
hasNextPage
|
||||||
|
endCursor
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}`;
|
}`;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue