fix bingai bugs and add chatgptbrowser client

This commit is contained in:
Daniel Avila 2023-02-21 21:30:56 -05:00
parent 168d5e8075
commit 16932b37c0
7 changed files with 42 additions and 46 deletions

View file

@ -9,7 +9,7 @@ router.get('/', async (req, res) => {
router.post('/clear', async (req, res) => {
let filter = {};
const { conversationId } = req.body.arg;
if (!!conversationId) {
if (conversationId) {
filter = { conversationId };
}