Fix mac app updates (#486)

This commit is contained in:
Henry Wang
2018-08-18 20:11:29 +08:00
committed by DIYgod
parent 3543e4c47c
commit 07abaf9ddd
+4 -1
View File
@@ -18,7 +18,10 @@ module.exports = async (ctx) => {
},
});
const result = res.data.results.apps;
let result = res.data.results.apps;
if (type === 'macapps') {
result = res.data.results.macapps;
}
const item = [];