feature/admin-section #31

Merged
Ghost merged 4 commits from feature/admin-section into main 2024-11-21 11:50:23 +00:00
Showing only changes of commit d4eb5d46c3 - Show all commits

View File

@@ -128,8 +128,9 @@ export default class AdminDumpHandler {
await decompress(fileContent, './dump');
const statistics = await this.getDumpStatistic()
const statistics = await this.getDumpStatistic();
await this.bot.sendMessage(chatId, JSON.stringify(statistics, null, 2));
this.userStates.delete(chatId);
} else {
await this.bot.sendMessage(chatId, 'Please upload a valid .zip file.');
return true;