Don't bail early if empty token provided from UI

This commit is contained in:
Cohee
2025-03-16 21:45:07 +02:00
parent 5fca39fae7
commit 5145e30be3

View File

@@ -319,7 +319,7 @@ function readFirstLine(filePath) {
*/
async function checkChatIntegrity(filePath, integritySlug) {
// If the chat file doesn't exist, assume it's intact
if (!integritySlug || !fs.existsSync(filePath)) {
if (!fs.existsSync(filePath)) {
return true;
}