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)