diff --git a/services/database/radios.js b/services/database/radios.js index 838b1e2..d9ba08d 100644 --- a/services/database/radios.js +++ b/services/database/radios.js @@ -13,6 +13,9 @@ exports.collection = function (callback) { .toArray((err, result) => { result.forEach(item => { item.type = "radio"; + if (!item.covers) { + item.covers = {}; + } }); callback(result); });