You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
data-model: simplify users and sessions
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
use async_graphql::{Context, Object, ID};
|
||||
use chrono::{DateTime, Utc};
|
||||
use mas_storage::PostgresqlBackend;
|
||||
use sqlx::PgPool;
|
||||
|
||||
use super::{NodeType, User};
|
||||
@@ -69,7 +68,7 @@ impl UpstreamOAuth2Link {
|
||||
pub struct UpstreamOAuth2Link {
|
||||
link: mas_data_model::UpstreamOAuthLink,
|
||||
provider: Option<mas_data_model::UpstreamOAuthProvider>,
|
||||
user: Option<mas_data_model::User<PostgresqlBackend>>,
|
||||
user: Option<mas_data_model::User>,
|
||||
}
|
||||
|
||||
#[Object]
|
||||
|
||||
Reference in New Issue
Block a user