Skip to content
Snippets Groups Projects
Commit 7345a967 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Bugfix wrong protocol in getTempFileEndpoint()

parent 28eba027
No related branches found
No related tags found
No related merge requests found
Pipeline #1621 passed
......@@ -123,7 +123,7 @@ public class JobController extends BaseController {
transfer.setDirection("pushToVoSpace");
transfer.setTarget(target);
Protocol protocol = new Protocol();
protocol.setUri("ivo://ivoa.net/vospace/core#httpget");
protocol.setUri("ivo://ivoa.net/vospace/core#httpput");
transfer.getProtocols().add(protocol);
return client.getFileServiceEndpoints(transfer).get(0).getEndpoint();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment