Skip to content

Commit

Permalink
feat(audit-actions): Change return value "next" to be a function
Browse files Browse the repository at this point in the history
  • Loading branch information
qtotuan committed Jan 2, 2019
1 parent c647d0d commit e42d1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/auditActions.ts
Expand Up @@ -67,7 +67,7 @@ export class AuditActions {
const response = await this.http.getClient().get(uri)

if (response.data.cursor && response.data.cursor.next) {
next = this.getAll({ ...q, uri: response.data.cursor.next })
next = () => this.getAll({ ...q, uri: response.data.cursor.next })
}

return resolve({
Expand Down

0 comments on commit e42d1b4

Please sign in to comment.