From 9a46d14b834890a3259475a21497712ca4e98fae Mon Sep 17 00:00:00 2001 From: Andy Davidoff Date: Tue, 28 Apr 2020 23:50:55 -0400 Subject: [PATCH] =?UTF-8?q?0.8.2:=20fix=20github=20api=20change=20?= =?UTF-8?q?=F0=9F=98=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nimph.nimble | 4 ++-- src/nimph/thehub.nim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nimph.nimble b/nimph.nimble index 228b316..f9723ba 100644 --- a/nimph.nimble +++ b/nimph.nimble @@ -1,9 +1,9 @@ -version = "0.8.1" +version = "0.8.2" author = "disruptek" description = "nim package handler from the future" license = "MIT" requires "nim >= 1.0.4" -requires "github >= 1.0.2 & < 2.0.0" +requires "github >= 1.0.4 & < 2.0.0" requires "cligen >= 0.9.41 & < 0.10.0" requires "bump >= 1.8.18 & < 2.0.0" requires "npeg >= 0.21.3 & < 0.23.0" diff --git a/src/nimph/thehub.nim b/src/nimph/thehub.nim index 4499105..575b981 100644 --- a/src/nimph/thehub.nim +++ b/src/nimph/thehub.nim @@ -290,7 +290,7 @@ proc getGitHubUser*(): Future[Option[HubResult]] {.async.} = proc forkHub*(owner: string; repo: string): Future[Option[HubResult]] {.async.} = ## attempt to fork an existing repository var - req = postReposOwnerRepoForks.call(repo, owner, body = newJObject()) + req = postReposOwnerRepoForks.call(repo = repo, owner = owner, body = newJObject()) debug &"forking owner `{owner}` repo `{repo}`" result = await req.queryOne(HubRepo)