You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
Fix rustfmt
This commit is contained in:
@ -182,7 +182,11 @@ impl<'c> OAuth2SessionRepository for PgOAuth2SessionRepository<'c> {
|
|||||||
),
|
),
|
||||||
err,
|
err,
|
||||||
)]
|
)]
|
||||||
async fn finish(&mut self, clock: &dyn Clock, session: Session) -> Result<Session, Self::Error> {
|
async fn finish(
|
||||||
|
&mut self,
|
||||||
|
clock: &dyn Clock,
|
||||||
|
session: Session,
|
||||||
|
) -> Result<Session, Self::Error> {
|
||||||
let finished_at = clock.now();
|
let finished_at = clock.now();
|
||||||
let res = sqlx::query!(
|
let res = sqlx::query!(
|
||||||
r#"
|
r#"
|
||||||
|
@ -33,7 +33,8 @@ pub trait OAuth2SessionRepository: Send + Sync {
|
|||||||
user_session: &BrowserSession,
|
user_session: &BrowserSession,
|
||||||
) -> Result<Session, Self::Error>;
|
) -> Result<Session, Self::Error>;
|
||||||
|
|
||||||
async fn finish(&mut self, clock: &dyn Clock, session: Session) -> Result<Session, Self::Error>;
|
async fn finish(&mut self, clock: &dyn Clock, session: Session)
|
||||||
|
-> Result<Session, Self::Error>;
|
||||||
|
|
||||||
async fn list_paginated(
|
async fn list_paginated(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
Reference in New Issue
Block a user