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
Fix the MatrixUser cache in urql
This commit is contained in:
@ -27,6 +27,10 @@ import schema from "./gql/schema";
|
||||
|
||||
const cache = cacheExchange({
|
||||
schema,
|
||||
keys: {
|
||||
// This is embedded in the `User` entity and has no ID
|
||||
MatrixUser: () => null,
|
||||
},
|
||||
updates: {
|
||||
Mutation: {
|
||||
addEmail: (result, args: MutationAddEmailArgs, cache, _info) => {
|
||||
|
Reference in New Issue
Block a user