Skip to content

Commit

Permalink
Merge pull request #21 from HarkonenBade/fix-new-folder
Browse files Browse the repository at this point in the history
Fix new_folder command by changing POST type
  • Loading branch information
dougbrion authored Jul 26, 2023
2 parents 11efe79 + d604e06 commit 879e34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octorest/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def new_folder(self, folder_name, location='local'):
data = {
'foldername': folder_name,
}
return self._post('/api/files/{}'.format(location), json=data)
return self._post('/api/files/{}'.format(location), data=data)

def select(self, location, *, print=False):
"""Issue a file command
Expand Down

0 comments on commit 879e34c

Please sign in to comment.