Skip to content

Commit

Permalink
Fix incorrect update_configuration endpoint
Browse files Browse the repository at this point in the history
#24 fix
  • Loading branch information
Vaelor committed Feb 8, 2018
1 parent 6083bd8 commit 56df757
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
4.3.2
'''''
Fixes
- https://github.com/Vaelor/python-mattermost-driver/issues/24

4.3.1
'''''
Added endpoints
Expand Down
5 changes: 3 additions & 2 deletions src/mattermostdriver/endpoints/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ def get_configuration(self):
'/config'
)

def update_configuration(self):
def update_configuration(self, options):
return self.client.put(
'/config'
'/config',
options=options
)

def reload_configuration(self):
Expand Down
2 changes: 1 addition & 1 deletion src/mattermostdriver/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
full_version = '4.3.1'
full_version = '4.3.2'
short_version = '.'.join(full_version.split('.', 2)[:2])

0 comments on commit 56df757

Please sign in to comment.