- Conversione Codice... Errore Service Worker regostration.
- Sistemare quasar.config.ts di piuchebuono! -Le categorie non si vedono piu !!
This commit is contained in:
@@ -844,9 +844,9 @@ module.exports.getArrCatProds = async function (idapp, cosa) {
|
||||
|
||||
try {
|
||||
let arr = [];
|
||||
const result = await Product.aggregate(myquery);
|
||||
arr = await Product.aggregate(myquery);
|
||||
|
||||
arr = result.map(category => category.name);
|
||||
// arr = result.map(category => category.name);
|
||||
return arr;
|
||||
} catch (e) {
|
||||
console.error('err', e);
|
||||
|
||||
Reference in New Issue
Block a user