Fix update_message() in our API.

This was regressed in b3df1ddeb1bbf67695a673278ae3c4a3e7c9ae99.
This commit is contained in:
Steve Howell 2017-01-25 08:36:20 -08:00 committed by Tim Abbott
parent 722fc56534
commit 39becef8c0

View file

@ -508,7 +508,7 @@ class Client(object):
See api/examples/edit-message for example usage. See api/examples/edit-message for example usage.
''' '''
return self.call_endpoint( return self.call_endpoint(
url='messages', url='messages/%d' % (message_data['message_id'],),
method='PATCH', method='PATCH',
request=message_data, request=message_data,
) )