fix(mute-block): api call parameter
This commit is contained in:
parent
29c25555b8
commit
a2b33274c3
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ async function editMute(muting, ev) {
|
|||
text: i18n.ts.unmute,
|
||||
icon: 'ti ti-x',
|
||||
action: async () => {
|
||||
await os.apiWithDialog('mute/delete', { userId: user.id });
|
||||
await os.apiWithDialog('mute/delete', { userId: muting.mutee.id });
|
||||
//role.users = role.users.filter(u => u.id !== user.id);
|
||||
},
|
||||
}], ev.currentTarget ?? ev.target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue