mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update server.js
bug?
This commit is contained in:
@@ -1777,7 +1777,7 @@ app.post("/importcharacter", urlencodedParser, async function (request, response
|
|||||||
response.send({ error: true });
|
response.send({ error: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
let = jsonData = json5.parse(data);
|
let jsonData = json5.parse(data);
|
||||||
|
|
||||||
if (jsonData.spec !== undefined) {
|
if (jsonData.spec !== undefined) {
|
||||||
console.log('importing from v2 json');
|
console.log('importing from v2 json');
|
||||||
|
Reference in New Issue
Block a user