1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00

Merge pull request #732 from haiwen/op-copy

Op copy
This commit is contained in:
xiez
2015-07-23 10:41:41 +08:00
2 changed files with 18 additions and 2 deletions

View File

@@ -1514,7 +1514,7 @@ class OpCopyView(APIView):
return api_error(status.HTTP_403_FORBIDDEN,
'You do not have permission to copy file.')
parent_dir = request.POST.get('p', '/')
parent_dir = request.GET.get('p', '/')
dst_repo = request.POST.get('dst_repo', None)
dst_dir = request.POST.get('dst_dir', None)
file_names = request.POST.get("file_names", None)