mirror of
https://github.com/fenwick67/mastofeed
synced 2025-01-12 09:14:30 +01:00
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
Block a user