From 73d51a3e29ff14c2e0601cfd403dbef6c59663b3 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Thu, 19 May 2022 13:49:38 +0100 Subject: [PATCH] fix: edit bot av / bg --- src/pages/settings/panes/MyBots.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/settings/panes/MyBots.tsx b/src/pages/settings/panes/MyBots.tsx index 861b5f33..a85a6d48 100644 --- a/src/pages/settings/panes/MyBots.tsx +++ b/src/pages/settings/panes/MyBots.tsx @@ -159,7 +159,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { // Remove user headers for this request delete headers?.["x-user-id"]; delete headers?.["x-session-token"]; - return data; + return JSON.stringify(data); }, }, ); @@ -184,7 +184,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { // Remove user headers for this request delete headers?.["x-user-id"]; delete headers?.["x-session-token"]; - return data; + return JSON.stringify(data); }, }, );