fix(core): update

This commit is contained in:
2020-10-28 15:54:39 +00:00
parent 8a78cc6831
commit 3170da0303
2 changed files with 8 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ export class SmartSitemap {
*/
public async createSitemapNewsFromFeedUrl(feedUrlArg: string): Promise<string> {
const sitemapNewsInstance = new SitemapNews({});
await sitemapNewsInstance.readAndAddFromRssFeed(feedUrlArg);
await sitemapNewsInstance.readAndAddFromRssFeedUrl(feedUrlArg);
return sitemapNewsInstance.exportSitemapXml();
}