diff options
author | Teddy Wing | 2017-11-12 17:50:56 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-12 17:50:56 +0100 |
commit | e0190cac41daa901349c7e10e42ef0c4067d3f7b (patch) | |
tree | aacf4bfecf1137f8851b639f912b248d5d40b181 /src/github.rs | |
parent | 42647c89062168851438f861bb84c7f6e14440f5 (diff) | |
download | kipper-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