Use opaque type for auth token
So we cannot accidentially output it, as it does not implement `Display`.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
use serde::Deserialize;
|
||||
|
||||
use super::auth;
|
||||
use super::escape;
|
||||
use super::ApiErrorResponse;
|
||||
use super::Filter;
|
||||
use super::JsonError;
|
||||
use super::Project;
|
||||
use super::Provider;
|
||||
use super::auth;
|
||||
|
||||
const PROVIDER_NAME: &str = "github";
|
||||
const ACCEPT_HEADER_JSON: &str = "application/vnd.github.v3+json";
|
||||
|
||||
Reference in New Issue
Block a user