Skip to content
Prev Previous commit
[LIB-816] correct links name in set_default'
  • Loading branch information
opalczynski committed Jul 25, 2016
commit bf5d8c14638064209927fce317051dd02b67521e
2 changes: 1 addition & 1 deletion syncano/models/hosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def list_files(self):
return [f['path'] for f in response['objects']]

def set_default(self):
default_path = self.links.default
default_path = self.links.set_default
connection = self._get_connection()

response = connection.make_request('POST', default_path)
Expand Down