Closed epicallan closed 6 years ago
interface Issue {
title: string;
body: string;
}
type Issues = issue[]
So if our new comments are for a TODO
issue we need to add our new comments (body) to our existing TODO
issue as a new comment.
Remember each issue has a predictable issue title, hence we can update particular issues basing on that. https://github.com/Akilihub/github-todos/blob/master/src/lib/github/issue-presenter.ts#L23
So we need an API function that adds a comment (body) to an existing issue.
@epicallan
addIssuesToRepo
function that takes in the returned results from the search