Miscellaneous housekeeping (#4735)
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,7 +4,7 @@
|
||||
# Please see LICENSE files in the repository root for full details.
|
||||
|
||||
# Rust
|
||||
target/
|
||||
target
|
||||
|
||||
# Editors
|
||||
.idea
|
||||
|
||||
@@ -15,7 +15,6 @@ disallowed-methods = [
|
||||
]
|
||||
|
||||
disallowed-types = [
|
||||
"rand::OsRng",
|
||||
{ path = "std::path::PathBuf", reason = "use camino::Utf8PathBuf instead" },
|
||||
{ path = "std::path::Path", reason = "use camino::Utf8Path instead" },
|
||||
]
|
||||
|
||||
@@ -341,8 +341,7 @@ pub async fn post(
|
||||
|
||||
let request = async_graphql::http::receive_body(
|
||||
content_type,
|
||||
body.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
|
||||
.into_async_read(),
|
||||
body.map_err(std::io::Error::other).into_async_read(),
|
||||
MultipartOptions::default(),
|
||||
)
|
||||
.await?
|
||||
|
||||
@@ -13,7 +13,7 @@ use ulid::Ulid;
|
||||
use crate::{Clock, repository_impl};
|
||||
|
||||
/// A [`CompatAccessTokenRepository`] helps interacting with
|
||||
/// [`CompatAccessToken`] saved in the storage backend
|
||||
/// [`CompatAccessToken`] saved in the storage backend
|
||||
#[async_trait]
|
||||
pub trait CompatAccessTokenRepository: Send + Sync {
|
||||
/// The error type returned by the repository
|
||||
|
||||
@@ -17,7 +17,7 @@ use url::Url;
|
||||
|
||||
use crate::{Clock, repository_impl};
|
||||
|
||||
/// An [`OAuth2ClientRepository`] helps interacting with [`Client`] saved in the
|
||||
/// An [`OAuth2ClientRepository`] helps interacting with [`Client`] saved in the
|
||||
/// storage backend
|
||||
#[async_trait]
|
||||
pub trait OAuth2ClientRepository: Send + Sync {
|
||||
|
||||
Reference in New Issue
Block a user