mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
document next_token
This commit is contained in:
parent
af25f831e7
commit
38189d3bf4
@ -96,6 +96,11 @@ export class ReportPoll {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This API endpoint returns an opaque `next_token` number that we
|
||||||
|
* need to give back to subsequent requests for pagination, so here we
|
||||||
|
* save it in account data
|
||||||
|
*/
|
||||||
if (response.next_token !== undefined) {
|
if (response.next_token !== undefined) {
|
||||||
this.from = response.next_token;
|
this.from = response.next_token;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user