diff --git a/web/pages/components/toggle.tsx b/web/pages/components/toggle.tsx index cb6b30d12..af1c93229 100644 --- a/web/pages/components/toggle.tsx +++ b/web/pages/components/toggle.tsx @@ -40,7 +40,7 @@ export default function ToggleSwitch({ isVisible, message, setMessage }: Message method: 'POST', data: { visible: !isVisible, - id: messageId, + idArray: [messageId], }, });