Skip to content

Commit ce8a680

Browse files
authored
Unify list and trigger issue comment payloads (#89)
1 parent b8b04c6 commit ce8a680

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/samples/issueComment.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"url": "https://linear.app/example/issue/SAMPLE-15",
1212
"team": {
1313
"id": "a582cb67-8f1b-4d8a-9d91-e9894dcf7fa6",
14+
"key": "SAM",
1415
"name": "Sample team"
1516
}
1617
},

src/triggers/commentIssueV2.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ interface Comment {
1818
url: string;
1919
team: {
2020
id: string;
21+
key: string;
2122
name: string;
2223
};
2324
};
@@ -107,6 +108,7 @@ const getCommentList = () => async (z: ZObject, bundle: Bundle) => {
107108
url: true,
108109
team: {
109110
id: true,
111+
key: true,
110112
name: true,
111113
},
112114
},

0 commit comments

Comments
 (0)