add location state reset
This commit is contained in:
parent
ebad9da439
commit
b45f7daa6f
@ -125,6 +125,8 @@ export default class AdminLocationHandler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.userStates.delete(chatId);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const locations = await db.allAsync(`
|
const locations = await db.allAsync(`
|
||||||
SELECT l.*,
|
SELECT l.*,
|
||||||
@ -279,7 +281,6 @@ export default class AdminLocationHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async backToMenu(callbackQuery) {
|
async backToMenu(callbackQuery) {
|
||||||
if (!this.isAdmin(callbackQuery.from.id)) return;
|
if (!this.isAdmin(callbackQuery.from.id)) return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user