Skip to content

Commit

Permalink
0.8.2: fix github api change 😠
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Apr 29, 2020
1 parent 8f5d0c5 commit 9a46d14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nimph.nimble
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/nimph/thehub.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9a46d14

Please sign in to comment.