Skip to content

Commit d238d32

Browse files
author
3skif9
committed
Update StorageApi.java
1 parent 06494a1 commit d238d32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/main/java/com/groupdocs/sdk/api/StorageApi.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ public DeleteResponse DeleteFromFolder (String userId, String path) throws ApiEx
410410
}
411411
}
412412
}
413-
publicFileMoveResponseMoveFile (StringuserId, Stringpath, Stringmode, StringGroupdocs_Move, StringGroupdocs_Copy) throwsApiException{
413+
publicFileMoveResponseMoveFile (StringuserId, Stringpath, Stringmode, StringGroupdocs_Copy, StringGroupdocs_Move) throwsApiException{
414414
// verify required params are set
415415
if(userId == null || path == null ){
416416
thrownewApiException(400, "missing required params");
@@ -429,8 +429,8 @@ public FileMoveResponse MoveFile (String userId, String path, String mode, Strin
429429

430430
if(!"null".equals(String.valueOf(mode)))
431431
queryParams.put("mode", String.valueOf(mode));
432-
headerParams.put("Groupdocs-Move", Groupdocs_Move);
433432
headerParams.put("Groupdocs-Copy", Groupdocs_Copy);
433+
headerParams.put("Groupdocs-Move", Groupdocs_Move);
434434
try{
435435
Stringresponse = apiInvoker.invokeAPI(basePath, resourcePath, "PUT", queryParams, null, headerParams, String.class);
436436
if(response != null){

0 commit comments

Comments
(0)