feature/admin-section #16

Merged
NW merged 4 commits from feature/admin-section into main 2024-11-14 23:55:29 +00:00
Showing only changes of commit b45f7daa6f - Show all commits

View File

@@ -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;