Updated RSSPostRecord builder to include the guid

This commit is contained in:
Logan Cusano
2023-02-25 18:51:20 -05:00
parent 1e62fcbcab
commit 331d5b07c1

View File

@@ -63,10 +63,10 @@ exports.RSSPostRecord = class RSSPostRecord extends baseRSSRecord{
* @param {*} _title The title of the post
* @param {*} _link The link to the post
* @param {*} _category The category of the post
* @param {*} _rssSourceID The ID of the RSS source that created this post
* @param {*} _guid The ID of this post
*/
constructor(_id, _title, _link, _category, _rssSourceID) {
constructor(_id, _title, _link, _category, _guid) {
super(_id, _title, _link, _category);
this.source_id = _rssSourceID;
this.guid = _guid;
}
}