mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove spammy logs
This commit is contained in:
@@ -822,7 +822,6 @@ function charaFormatData(data) {
|
|||||||
// This is supposed to save all the foreign keys that ST doesn't care about
|
// This is supposed to save all the foreign keys that ST doesn't care about
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
const char = tryParse(data.json_data) || {};
|
const char = tryParse(data.json_data) || {};
|
||||||
console.log(data.tags);
|
|
||||||
|
|
||||||
// This function uses _.cond() to create a series of conditional checks that return the desired output based on the input data.
|
// This function uses _.cond() to create a series of conditional checks that return the desired output based on the input data.
|
||||||
// It checks if data.alternate_greetings is an array, a string, or neither, and acts accordingly.
|
// It checks if data.alternate_greetings is an array, a string, or neither, and acts accordingly.
|
||||||
@@ -1865,7 +1864,6 @@ app.post("/importcharacter", urlencodedParser, async function (request, response
|
|||||||
charaWrite(uploadPath, char, png_name, response, { file_name: png_name });
|
charaWrite(uploadPath, char, png_name, response, { file_name: png_name });
|
||||||
} else if (jsonData.name !== undefined) {
|
} else if (jsonData.name !== undefined) {
|
||||||
console.log('Found a v1 character file.');
|
console.log('Found a v1 character file.');
|
||||||
console.log(jsonData);
|
|
||||||
let char = {
|
let char = {
|
||||||
"name": jsonData.name,
|
"name": jsonData.name,
|
||||||
"description": jsonData.description ?? '',
|
"description": jsonData.description ?? '',
|
||||||
|
Reference in New Issue
Block a user