You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
data-model: simplify tokens
This commit is contained in:
@@ -56,10 +56,7 @@ impl AccessToken {
|
||||
&self,
|
||||
conn: &mut PgConnection,
|
||||
) -> Result<
|
||||
(
|
||||
mas_data_model::AccessToken<PostgresqlBackend>,
|
||||
Session<PostgresqlBackend>,
|
||||
),
|
||||
(mas_data_model::AccessToken, Session<PostgresqlBackend>),
|
||||
AuthorizationVerificationError,
|
||||
> {
|
||||
let token = match self {
|
||||
|
Reference in New Issue
Block a user