Skip to content

Commit

Permalink
FIX: telegram massage
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBodnar committed Feb 7, 2023
1 parent b90bcd6 commit 0ba2f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const parseJobSites = async () => {
site: site.url,
});
if (!isViewedJob) {
const message = `New ${jobTitle} job found on ${site.name}: ${site.url}`;
const message = `New ${jobTitle.toUpperCase()} job found on ${site.name}: ${site.url}`;
console.info(message);
console.info('Sending data to Telegram chanel');
await telegramBot.telegram.sendMessage(config.TELEGRAM.CHAT_ID, message);
Expand Down

0 comments on commit 0ba2f93

Please sign in to comment.