Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update flank-scripts/src/main/kotlin/flank/scripts/zenhub/ZenHubAPI.kt
Browse files Browse the repository at this point in the history
piotradamczyk5 authored and mergify-bot committed Dec 29, 2020

Verified

This commit was signed with the committer’s verified signature.
Doctor-wu Doctor Wu
1 parent 0b12286 commit 7465494
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@ import kotlinx.serialization.Serializable
const val FLANK_REPO_ID = 84221974
internal const val ZENHUB_BASE_URL = "https://api.zenhub.com/p1/repositories/$FLANK_REPO_ID"

// GET
suspend fun copyEstimation(zenhubToken: String, issueNumber: Int, pullRequestNumber: Int) {
getEstimation(zenhubToken, issueNumber)
?.run { setEstimation(zenhubToken, pullRequestNumber, estimate.value) }

0 comments on commit 7465494

Please sign in to comment.