aboutsummaryrefslogtreecommitdiffstats
path: root/src/github.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-12 17:50:56 +0100
committerTeddy Wing2017-11-12 17:50:56 +0100
commite0190cac41daa901349c7e10e42ef0c4067d3f7b (patch)
treeaacf4bfecf1137f8851b639f912b248d5d40b181 /src/github.rs
parent42647c89062168851438f861bb84c7f6e14440f5 (diff)
downloadkipper-e0190cac41daa901349c7e10e42ef0c4067d3f7b.tar.bz2
auth_credentials(): Get credentials from arguments
Remove the hard-coded user ID and token values. Instead, take these from arguments to the function. In order to not have to pass those arguments through to both `get_jobs()` and `request_job()`, make a new private function that builds a 'reqwest' client with the required auth header.
Diffstat (limited to 'src/github.rs')
0 files changed, 0 insertions, 0 deletions