fix: edit bot av / bg

This commit is contained in:
Paul Makles 2022-05-19 13:49:38 +01:00
parent 5d7b8f1851
commit 73d51a3e29

View file

@ -159,7 +159,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
// Remove user headers for this request // Remove user headers for this request
delete headers?.["x-user-id"]; delete headers?.["x-user-id"];
delete headers?.["x-session-token"]; 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 // Remove user headers for this request
delete headers?.["x-user-id"]; delete headers?.["x-user-id"];
delete headers?.["x-session-token"]; delete headers?.["x-session-token"];
return data; return JSON.stringify(data);
}, },
}, },
); );