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

graphql: Fix the createOauth2Session mutation not persisting the changes to the database

This commit is contained in:
Quentin Gliech
2023-09-12 11:16:48 +02:00
parent 9c97a0c37a
commit 789040d22f
2 changed files with 19 additions and 1 deletions

View File

@ -199,6 +199,8 @@ impl OAuth2SessionMutations {
Some(refresh_token)
};
repo.save().await?;
Ok(CreateOAuth2SessionPayload {
session,
access_token: access_token.access_token,