Commits

Sam Adams committed a3d4ff6

Sync with renamed method in dependency

Comments (0)

Files changed (1)

src/main/java/net/chempound/client/cli/command/DepositCommand.java

                 final File file = globalOptions.workingDirectory == null ? new File(filename) : new File(globalOptions.workingDirectory, filename);
                 final String depositFilename = FilenameUtils.getName(filename);
                 final LocalResource resource = new LocalFileResource(depositFilename, file);
-                request.addResource(resource);
+                request.withFile(resource);
             }
         }
     }