You've already forked authentication-service
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:
@ -199,6 +199,8 @@ impl OAuth2SessionMutations {
|
||||
Some(refresh_token)
|
||||
};
|
||||
|
||||
repo.save().await?;
|
||||
|
||||
Ok(CreateOAuth2SessionPayload {
|
||||
session,
|
||||
access_token: access_token.access_token,
|
||||
|
Reference in New Issue
Block a user