diff --git a/src/handlers/adminLocationHandler.js b/src/handlers/adminLocationHandler.js index 3c20209..e23233b 100644 --- a/src/handlers/adminLocationHandler.js +++ b/src/handlers/adminLocationHandler.js @@ -125,6 +125,8 @@ export default class AdminLocationHandler { return; } + this.userStates.delete(chatId); + try { const locations = await db.allAsync(` SELECT l.*, @@ -279,7 +281,6 @@ export default class AdminLocationHandler { } } - async backToMenu(callbackQuery) { if (!this.isAdmin(callbackQuery.from.id)) return;