Skip to content

Commit 1319ce5

Browse files
committed
fix incorrect syntax in GraphQL query
1 parent 824f8e8 commit 1319ce5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -51579,13 +51579,13 @@ var linearClient = Inputs.pipe(
5157951579
var LinearClientLive = Layer_exports.effect(LinearClient, linearClient);
5158051580
var gql = String.raw;
5158151581
var issueViewForAttachmentQuery = gql`
51582-
query IssueViewForAttachmentUrl($url: String!, $$commentBody: String!) {
51582+
query IssueViewForAttachmentUrl($url: String!, $commentBody: String!) {
5158351583
attachmentsForURL(url: $url) {
5158451584
nodes {
5158551585
issue {
5158651586
id
5158751587
identifier
51588-
comments(filter: { body: { eq: $commentBody } }, first: 1, , orderBy: createdAt) {
51588+
comments(filter: { body: { eq: $commentBody } }, first: 1, orderBy: createdAt) {
5158951589
nodes {
5159051590
id
5159151591
}

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/services/linear-client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ interface IssueViewForAttachmentUrlQueryResponse {
8686
}
8787

8888
const issueViewForAttachmentQuery = gql`
89-
query IssueViewForAttachmentUrl($url: String!, $$commentBody: String!) {
89+
query IssueViewForAttachmentUrl($url: String!, $commentBody: String!) {
9090
attachmentsForURL(url: $url) {
9191
nodes {
9292
issue {
9393
id
9494
identifier
95-
comments(filter: { body: { eq: $commentBody } }, first: 1, , orderBy: createdAt) {
95+
comments(filter: { body: { eq: $commentBody } }, first: 1, orderBy: createdAt) {
9696
nodes {
9797
id
9898
}

0 commit comments

Comments
 (0)