Fix WhosWatching Error

This commit is contained in:
thororen1234 2024-07-20 02:57:17 -04:00
parent 00fefab3d4
commit f3d90a8842
2 changed files with 4 additions and 4 deletions

View file

@ -62,8 +62,8 @@ export default definePlugin({
{
find: "fetchRelationships(){",
replacement: {
match: /\.then\((\i)=>(\i\.\i)\.dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\)/,
replace: ".then($1=>{$2.dispatch({type:\"LOAD_RELATIONSHIPS_SUCCESS\",relationships:$3}); $self.getContacts($3)}"
match: /(\.then\(\i)=>(\i\.\i\.dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS"),relationships:(\i\.body)}\)/,
replace: "$1=>{$2,relationships:$3}); $self.getContacts($3)}"
}
},
{