fix: error when no mediaType supplied

This commit is contained in:
Holger 2022-09-15 19:49:48 +08:00 committed by GitHub
parent 10720ac118
commit 1e8552da98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
});