add location state reset
This commit is contained in:
parent
ebad9da439
commit
b45f7daa6f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user