mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-07 09:13:58 -05:00
Last Fix I hope
This commit is contained in:
parent
a001e74ea5
commit
3afc6c6d29
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "fetchRelationships(){",
|
find: "fetchRelationships(){",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\.then\(\i=>\i\.\i\.dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\);/,
|
match: /\.then\((\i)=>(\i\.\i\.)dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\)/,
|
||||||
replace: "$&$self.getContacts($2)}"
|
replace: ".then($1=>{$2dispatch({type:\"LOAD_RELATIONSHIPS_SUCCESS\",relationships:$3}); $self.getContacts($3)}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue