Don't bail early if empty token provided from UI
| @@ -319,7 +319,7 @@ function readFirstLine(filePath) { | |||
| 319 | */ | 319 | */ |
| 320 | async function checkChatIntegrity(filePath, integritySlug) { | 320 | async function checkChatIntegrity(filePath, integritySlug) { |
| 321 | // If the chat file doesn't exist, assume it's intact | 321 | // If the chat file doesn't exist, assume it's intact |
| 322 | if (!integritySlug || !fs.existsSync(filePath)) { | 322 | if (!fs.existsSync(filePath)) { |
| 323 | return true; | 323 | return true; |
| 324 | } | 324 | } |
| 325 | 325 | ||