mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Linear Node): Fix issue with Issue States not loading correctly (#5435)
This commit is contained in:
committed by
GitHub
parent
32de081b0c
commit
57a2b9cceb
@@ -1,7 +1,7 @@
|
||||
export const query = {
|
||||
getUsers() {
|
||||
return `query Users ($first: Int){
|
||||
users (first: $first){
|
||||
return `query Users ($first: Int, $after: String){
|
||||
users (first: $first, after: $after){
|
||||
nodes {
|
||||
id
|
||||
name
|
||||
@@ -26,8 +26,8 @@ export const query = {
|
||||
}}`;
|
||||
},
|
||||
getStates() {
|
||||
return `query States ($first: Int){
|
||||
workflowStates (first: $first){
|
||||
return `query States ($first: Int, $after: String, $filter: WorkflowStateFilter){
|
||||
workflowStates (first: $first, after: $after, filter: $filter){
|
||||
nodes {
|
||||
id
|
||||
name
|
||||
@@ -121,6 +121,15 @@ export const query = {
|
||||
}
|
||||
}`;
|
||||
},
|
||||
getIssueTeam() {
|
||||
return `query Issue($issueId: String!) {
|
||||
issue(id: $issueId) {
|
||||
team {
|
||||
id
|
||||
}
|
||||
}
|
||||
}`;
|
||||
},
|
||||
getIssues() {
|
||||
return `query Issue ($first: Int, $after: String){
|
||||
issues (first: $first, after: $after){
|
||||
|
||||
Reference in New Issue
Block a user