mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix: edit bot av / bg
This commit is contained in:
@@ -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