Skip to content

Commit

Permalink
Device settings upload should use POST
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Jan 19, 2010
1 parent a5c6558 commit 5345963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mygpoclient/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def update_device_settings(self, device_id, caption=None, type=None):
data['caption'] = caption
if type is not None:
data['type'] = type
return (self._client.PUT(uri, data) is None)
return (self._client.POST(uri, data) is None)

def get_devices(self):
"""Returns a list of this user's PodcastDevice objects
Expand Down

0 comments on commit 5345963

Please sign in to comment.