This commit is contained in:
Zahary Karadjov
2017-04-30 21:57:13 +03:00
parent 9107e551f1
commit 622100adb6
2 changed files with 23 additions and 3 deletions

View File

@@ -29,8 +29,6 @@ proc newBountySource(team, token: string): BountySource =
result.client.headers["Referer"] = "https://salt.bountysource.com/teams/nim/admin/supporters"
result.client.headers["Origin"] = "https://salt.bountysource.com/"
import typetraits
proc getSupporters(self: BountySource): Future[JsonNode] {.async.} =
let response = await self.client.get(apiUrl &
"/supporters?order=monthly&per_page=200&team_slug=" & self.team)