1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

OAuth and browser session lists

This commit is contained in:
Quentin Gliech
2022-11-15 12:36:44 +01:00
parent 2064c11d9b
commit f195cd3567
14 changed files with 1529 additions and 86 deletions

View File

@ -127,10 +127,10 @@ impl User {
|after, before, first, last| async move {
let mut conn = database.acquire().await?;
let after_id = after
.map(|x: OpaqueCursor<NodeCursor>| x.extract_for_type(NodeType::UserEmail))
.map(|x: OpaqueCursor<NodeCursor>| x.extract_for_type(NodeType::BrowserSession))
.transpose()?;
let before_id = before
.map(|x: OpaqueCursor<NodeCursor>| x.extract_for_type(NodeType::UserEmail))
.map(|x: OpaqueCursor<NodeCursor>| x.extract_for_type(NodeType::BrowserSession))
.transpose()?;
let (has_previous_page, has_next_page, edges) =