Properly update existing global meta after mutation
"existingMetas" was incorrectly iterated over which caused an error in case the mutated meta did not exist prior to the mutation
This commit is contained in:
@@ -1097,7 +1097,7 @@ export class RequestManager {
|
||||
fragment: GLOBAL_METADATA,
|
||||
});
|
||||
|
||||
return [...existingMetas, newMetaRef];
|
||||
return [...existingMetas.nodes, newMetaRef];
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user