Skip to content

Commit

Permalink
Merge pull request #106 from msheldyakov/master
Browse files Browse the repository at this point in the history
fix repository renaming
  • Loading branch information
cosmin committed Sep 1, 2018
2 parents 2c22fa6 + f5a3ced commit 60b8ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stashy/repos.py
Expand Up @@ -171,7 +171,7 @@ def update(self, name):
The repository's slug is derived from its name. If the name changes the slug may also change.
"""
return self._client.post(self.url(), data=dict(name=name))
return self._client.put(self.url(), data=dict(name=name))

@response_or_error
def get(self):
Expand Down

0 comments on commit 60b8ab5

Please sign in to comment.