Function
createMessage
({
accessToken,
issueId,
body,
createAsUser,
displayIconUrl,
}: createMessageType)
Source from the content-addressed store, hash-verified
| 49 | }; |
| 50 | |
| 51 | export async function createMessage({ |
| 52 | accessToken, |
| 53 | issueId, |
| 54 | body, |
| 55 | createAsUser, |
| 56 | displayIconUrl, |
| 57 | }: createMessageType) { |
| 58 | const linearClient = new LinearClient({ accessToken }); |
| 59 | return await linearClient.createComment({ |
| 60 | issueId, |
| 61 | body, |
| 62 | createAsUser, |
| 63 | displayIconUrl, |
| 64 | }); |
| 65 | } |
| 66 | |
| 67 | type createThreadType = { |
| 68 | accessToken: string; |
Tested by
no test coverage detected