Skip to content

Commit

Permalink
Handle URI from FileContentService.getWebDavUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-tchad committed Dec 18, 2024
1 parent adf1ed0 commit 61b5220
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private static Path createConfig(Path configTemplate, Path parentDir, Path jobDi
webdavUrl = StringUtils.stripEnd(webdavUrl, "/");
String substitutedContent = template.replace("${quant_spectra_dir}", "quant_spectra_dir = '" + webdavUrl + "'");

String uploadUrl = FileContentService.get().getWebDavUrl(jobDir, container, FileContentService.PathType.full);
String uploadUrl = FileContentService.get().getWebDavUrl(jobDir, container, FileContentService.PathType.full).toString();
uploadUrl = StringUtils.stripEnd(uploadUrl, "/");
substitutedContent = substitutedContent.replace("${panorama.upload_url}", "panorama.upload_url = '" + uploadUrl + "'");

Expand Down

0 comments on commit 61b5220

Please sign in to comment.