Need 'history' OAuth2 access now.

pull/42/head
David Trail 9 years ago
parent d3ce913f34
commit ee31bc89cf

@ -111,12 +111,13 @@ if verbose and whitelist:
) )
def get_things(after=None): def get_things(after=None):
limit = 100
if item == "comments": if item == "comments":
return r.user.get_comments(limit=None, sort=sort) return r.user.get_comments(limit=limit, sort=sort)
elif item == "submitted": elif item == "submitted":
return r.user.get_submitted(limit=None, sort=sort) return r.user.get_submitted(limit=limit, sort=sort)
elif item == "overview": elif item == "overview":
return r.user.get_overview(limit=None, sort=sort) return r.user.get_overview(limit=limit, sort=sort)
else: else:
raise Exception("Your deletion section is wrong") raise Exception("Your deletion section is wrong")

Loading…
Cancel
Save