Skip to content

Commit

Permalink
linear-issues: correctly include assigned issues (#159)
Browse files Browse the repository at this point in the history
This was a typo, previously we fetched assigned issues but accidently
never read the field.
  • Loading branch information
keegancsmith authored Jun 25, 2024
1 parent 6a25080 commit 9c15de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provider/linear-issues/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const linearIssues: Provider<Settings> = {
const response = await linearApiRequest(viewerIssuesQuery, variables, settingsInput)

const createdIssues = response.data.viewer.createdIssues.nodes as Issue[]
const assignedIssues = response.data.viewer.createdIssues.nodes as Issue[]
const assignedIssues = response.data.viewer.assignedIssues.nodes as Issue[]
issues = dedupeWith([...assignedIssues, ...createdIssues], 'url')
}

Expand Down
2 changes: 1 addition & 1 deletion provider/linear-issues/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/provider-linear-issues",
"version": "0.0.2",
"version": "0.0.3",
"description": "Linear Issues context for code AI and editors (OpenCtx provider)",
"license": "Apache-2.0",
"repository": {
Expand Down

0 comments on commit 9c15de6

Please sign in to comment.