Fix mac app updates (#486)
This commit is contained in:
parent
3543e4c47c
commit
07abaf9ddd
|
|
@ -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 = [];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue