Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeto143 authored May 8, 2024
1 parent 5776bb4 commit dffb7c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 5m5v-bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ let twitterApiKey = null;
});
}

console.log(`Sent tweet ${tweet.id} in ${language}:\n${tweet.fullText}`);
console.log(`Sent tweet ${tweet.id} in ${lang}:\n${tweet.fullText}`);
} catch (error) {
console.error(`Unable to send tweet ${tweet.id} in ${language}: ${error.message}`);
console.error(`Unable to send tweet ${tweet.id} in ${lang}: ${error.message}`);
}
}
} catch (error) {
Expand Down

0 comments on commit dffb7c6

Please sign in to comment.