error mio

This commit is contained in:
xXpuma99Xx
2021-12-07 14:32:29 -06:00
parent 97dab2df96
commit 11e7759ae0
+2 -2
View File
@@ -172,14 +172,14 @@ const archivosFicheros = async () => {
} while (pageToken);
for (let i = 0; i < carpetas.length; i++) {
for (let j = i + 1; j < carpetas.length; j++) {
if (carpetas[i].id === carpetas[j].id)
if (carpetas[i].name === carpetas[j].name)
carpetasRepetidas.push(carpetas[i]);
}
}
console.log(carpetasRepetidas);
};
// archivosFicheros();
archivosFicheros();
module.exports = {
folder,