From 32c8b2b33c3e696116e562436e931606a3cbdb1d Mon Sep 17 00:00:00 2001 From: fenwick67 Date: Tue, 10 Jan 2023 20:08:17 -0500 Subject: [PATCH] fixes PR #40 --- .gitignore | 1 + lib/convertv2.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5bda9f6..6701373 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules *.atom +.vscode diff --git a/lib/convertv2.js b/lib/convertv2.js index e97a1a6..ff4ad70 100644 --- a/lib/convertv2.js +++ b/lib/convertv2.js @@ -174,7 +174,7 @@ async function itemsForFeed(opts,user,feed) { }).map((a)=>{ return { name:a.name, - type:a.mediaType, + type:a.mediaType || '', url:a.url } });