Skip to content

Commit

Permalink
Fix inbox #2
Browse files Browse the repository at this point in the history
  • Loading branch information
dzarlax committed Mar 21, 2024
1 parent b0ca26c commit 4371c14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions todoist_bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ async function sendTaskToTodoist(chatId) {
if (!projectName) {
console.error("Проект для пользователя не найден:", sender);
bot.sendMessage(chatId, `Проект для пользователя "${sender}" не найден, задача будет помещена во входящие.`);
const projectName = 'Inbox'
return projectName;
projectName = 'Inbox'
}

const projects = await fetchProjects(); // Получаем список проектов
Expand Down

0 comments on commit 4371c14

Please sign in to comment.