feat: search issue API

This commit is contained in:
Muhsin Keloth
2024-05-09 22:28:47 +05:30
parent df29b43540
commit 5e1dbfb64d
8 changed files with 153 additions and 0 deletions
+14
View File
@@ -44,4 +44,18 @@ module LinearQueries
}
GRAPHQL
end
def self.search_issue(term)
<<~GRAPHQL
query {
searchIssues(term: "#{term}") {
nodes {
id
title
description
}
}
}
GRAPHQL
end
end