Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Commit

Permalink
Add before argument for team.accessLogs method. Fixes #112.
Browse files Browse the repository at this point in the history
  • Loading branch information
os committed Dec 8, 2018
1 parent c34d705 commit 24a0774
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions slacker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,9 +708,13 @@ def profile(self):
def info(self):
return self.get('team.info')

def access_logs(self, count=None, page=None):
def access_logs(self, count=None, page=None, before=None):
return self.get('team.accessLogs',
params={'count': count, 'page': page})
params={
'count': count,
'page': page,
'before': before
})

def integration_logs(self, service_id=None, app_id=None, user=None,
change_type=None, count=None, page=None):
Expand Down

0 comments on commit 24a0774

Please sign in to comment.