Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[LIB-783] - Pass method type to resolve_endpoint as named parameter.
  • Loading branch information
ilu2112 committed Jun 30, 2016
commit b7606bcd96cbb32fd0ca32f488e243b13c87f8f5
2 changes: 1 addition & 1 deletion syncano/models/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Meta:

def poll(self, room=None, last_id=None, callback=None, error=None, timeout=None):
properties = self.get_endpoint_data()
endpoint = self._meta.resolve_endpoint('poll', properties, 'GET')
endpoint = self._meta.resolve_endpoint('poll', properties, http_method='GET')
connection = self._get_connection()

thread = PollThread(connection, endpoint, callback, error, timeout=timeout,
Expand Down