fix: error when no mediaType supplied
This commit is contained in:
parent
10720ac118
commit
1e8552da98
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue