Use opaque type for auth token

So we cannot accidentially output it, as it does not implement
`Display`.
This commit is contained in:
2022-06-13 22:47:49 +02:00
parent 4f68a563c6
commit 1a65a163a1
3 changed files with 2 additions and 3 deletions

View File

@@ -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 = "gitlab";
const ACCEPT_HEADER_JSON: &str = "application/json";