mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 08:30:58 -05:00
fix: edit bot av / bg
This commit is contained in:
parent
5d7b8f1851
commit
73d51a3e29
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue