diff options
Diffstat (limited to 'src/github.rs')
-rw-r--r-- | src/github.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github.rs b/src/github.rs index 1128f95..e5be0d3 100644 --- a/src/github.rs +++ b/src/github.rs @@ -117,7 +117,7 @@ impl<'a> GitHub<'a> { fn authorization_header(&self) -> Result<HeaderValue, surf::Error> { let mut value = b"bearer ".to_vec(); value.extend_from_slice(self.token.as_bytes()); - Ok(HeaderValue::from_bytes(value)?) + HeaderValue::from_bytes(value) } pub async fn pr_info_for_nixpkgs_pr(&self, pr: i64) -> Result<PrInfo, Error> { |