Add new option to contributors plugin (#146)
This commit is contained in:
1 parent
d972f45fb0
commit
0cba707d1c
9 files changed
+64
-15
No files matched your search
@@ -18,7 +18,7 @@
|
||||
console.debug(`metrics/compute/${login}/plugins > habits > querying api`)
|
||||
const events = []
|
||||
try {
|
||||
for (let page = 0; page < pages; page++) {
|
||||
for (let page = 1; page < pages; page++) {
|
||||
console.debug(`metrics/compute/${login}/plugins > habits > loading page ${page}`)
|
||||
events.push(...(await rest.activity.listEventsForAuthenticatedUser({username:login, per_page:100, page})).data)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user