|
@@ -75,8 +75,8 @@ export default class Portal {
|
|
|
|
|
|
console.log(`\n${this._name} | Sending`, message);
|
|
console.log(`\n${this._name} | Sending`, message);
|
|
|
|
|
|
- // await this._mastodonClient.v1.statuses.create({ status: message, mediaIds });
|
|
|
|
- // await this._redisClient.store(article.link, date, { EX: 60 * 60 * 24 }); // EX: 24 hrs expiration
|
|
|
|
|
|
+ await this._mastodonClient.v1.statuses.create({ status: message, mediaIds });
|
|
|
|
+ await this._redisClient.store(article.link, date, { EX: 60 * 60 * 24 }); // EX: 24 hrs expiration
|
|
totalPublished++
|
|
totalPublished++
|
|
}
|
|
}
|
|
console.log(`${this._name} | Published ${totalPublished} new articles`);
|
|
console.log(`${this._name} | Published ${totalPublished} new articles`);
|