mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 06:33:48 +00:00
Merge pull request #183 from Neurones67/master
share views: Fix missing parameter in copy_file
This commit is contained in:
@@ -874,7 +874,7 @@ def save_shared_link(request):
|
||||
new_obj_name = check_filename_with_rename(dst_repo_id, dst_path, obj_name)
|
||||
|
||||
seafile_api.copy_file(src_repo_id, src_path, obj_name,
|
||||
dst_repo_id, dst_path, new_obj_name, username)
|
||||
dst_repo_id, dst_path, new_obj_name, username, False)
|
||||
|
||||
messages.success(request, _(u'Successfully saved.'))
|
||||
|
||||
@@ -966,7 +966,7 @@ def save_private_file_share(request, token):
|
||||
|
||||
new_obj_name = check_filename_with_rename(dst_repo_id, dst_path, obj_name)
|
||||
seafile_api.copy_file(repo_id, src_path, obj_name,
|
||||
dst_repo_id, dst_path, new_obj_name, username)
|
||||
dst_repo_id, dst_path, new_obj_name, username, False)
|
||||
|
||||
messages.success(request, _(u'Successfully saved.'))
|
||||
|
||||
|
Reference in New Issue
Block a user