From e978789c8b838628cbe657969150e6205478aa0f Mon Sep 17 00:00:00 2001 From: gingervitis Date: Sat, 26 Dec 2020 00:21:50 -0800 Subject: [PATCH] send id as an array --- web/pages/components/toggle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], }, });