Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dstegelman committed Jan 20, 2017
1 parent 10a02a7 commit 60db494
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ ENV/

.vagrant/
Vagrantfile
test_dev.py
5 changes: 4 additions & 1 deletion rocketchat/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ def get_room_info(self, room_id, **kwargs):
:param kwargs:
:return:
"""
return GetRoomInfo(settings=self.settings, **kwargs).call(**kwargs)
return GetRoomInfo(settings=self.settings, **kwargs).call(
room_id=room_id,
**kwargs
)
2 changes: 1 addition & 1 deletion rocketchat/calls/get_room_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class GetRoomInfo(RocketChatBase):
endpoint = 'api/v1/channels.info'
endpoint = '/api/v1/channels.info'

def build_endpoint(self, **kwargs):
return '{endpoint}?roomId={room_id}'.format(
Expand Down

0 comments on commit 60db494

Please sign in to comment.