send id as an array
This commit is contained in:
parent
7c06b74324
commit
e978789c8b
@ -40,7 +40,7 @@ export default function ToggleSwitch({ isVisible, message, setMessage }: Message
|
||||
method: 'POST',
|
||||
data: {
|
||||
visible: !isVisible,
|
||||
id: messageId,
|
||||
idArray: [messageId],
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user