send id as an array

This commit is contained in:
gingervitis 2020-12-26 00:21:50 -08:00
parent 7c06b74324
commit e978789c8b

View File

@ -40,7 +40,7 @@ export default function ToggleSwitch({ isVisible, message, setMessage }: Message
method: 'POST',
data: {
visible: !isVisible,
id: messageId,
idArray: [messageId],
},
});