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