mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-11-08 04:31:03 +00:00
fix: edit bot av / bg
This commit is contained in:
1 parent
5d7b8f1851
commit
73d51a3e29
1 file changed
+2
-2
@@ -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);
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user