Starting to learn Neorg. Had to fix the Walmart screenshots node script. Some notes and TODO items.
This commit is contained in:
@ -25,10 +25,10 @@ const getAllGroups = async (num) => {
|
||||
}
|
||||
})
|
||||
.then(async (res) => {
|
||||
if (res.data.links.next != null) {>
|
||||
page++;
|
||||
for (let i = 0; i < res.data.d
|
||||
if (res.data.data[i].attribu
|
||||
if (res.data.links.next != null) {
|
||||
page++;
|
||||
for (let i = 0; i < res.data.data.length; i++) {
|
||||
if (res.data.data[i].attributes.status == "live") {
|
||||
console.log(res.data.data[i].attributes.name)
|
||||
groupIds.push(res.data.data[i].id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user