mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-01 12:22:55 +00:00
Allow mkdir-with-children to accept private-key
This commit is contained in:
parent
b93a39fdc2
commit
6c7ffbe30d
@ -178,7 +178,7 @@ def POSTUnlinkedCreateDirectoryWithChildren(req, client):
|
|||||||
req.content.seek(0)
|
req.content.seek(0)
|
||||||
kids_json = req.content.read()
|
kids_json = req.content.read()
|
||||||
kids = convert_children_json(client.nodemaker, kids_json)
|
kids = convert_children_json(client.nodemaker, kids_json)
|
||||||
d = client.create_dirnode(initial_children=kids)
|
d = client.create_dirnode(initial_children=kids, unique_keypair=get_keypair(req))
|
||||||
redirect = get_arg(req, "redirect_to_result", "false")
|
redirect = get_arg(req, "redirect_to_result", "false")
|
||||||
if boolean_of_arg(redirect):
|
if boolean_of_arg(redirect):
|
||||||
def _then_redir(res):
|
def _then_redir(res):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user