1
0
mirror of https://github.com/fenwick67/mastofeed synced 2024-12-23 07:38:10 +01:00

Update convert.js

This commit is contained in:
Drew Harwell 2017-05-01 12:11:50 -05:00 committed by GitHub
parent d40af4b589
commit d8cdd3633c

View File

@ -83,7 +83,7 @@ function buildUp(jsonObj,opts){
if (item["activity:object"] && item["activity:object"].link){
if (isArrray(item["activity:object"].link) ){
if (isArray(item["activity:object"].link) ){
item["activity:object"].link.forEach(parseLink);
}else if (typeof item["activity:object"].link == 'object'){
parseLink(item["activity:object"].link);