Updated RSSPostRecord builder to include the guid
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user