func UpdateComments(issueID int, pullRequest bool, db *gorm.DB, client ClientInterface) {
	latest := findLatestCommentUpdate(issueID, db, client.RepositoryName())

	updateIssueComments(issueID, latest, db, client)
	if pullRequest {
		updatePullComments(issueID, latest, db, client)
	}
}
func UpdateComments(issueID int, pullRequest bool, db *gorm.DB, client ClientInterface) {
	latest := findLatestCommentUpdate(issueID, db, client.RepositoryName())

	updateIssueComments(issueID, latest, db, client)
	if pullRequest {
		updatePullComments(issueID, latest, db, client)
	}
}
func UpdateComments ( issueID int , pullRequest bool , db * gorm . DB , client ClientInterface ) { latest := findLatestCommentUpdate ( issueID , db , client . RepositoryName ( ) ) updateIssueComments ( issueID , latest , db , client ) if pullRequest { updatePullComments ( issueID , latest , db , client ) } }
// UpdateComments downloads issue and pull-request comments and save in DB
UpdateComments downloads issue and pull - request comments and save in DB