Skip to content

Commit

Permalink
Had to change if only prod (#211)
Browse files Browse the repository at this point in the history
Co-authored-by: chris.ditcher <Chris.Ditcher@QP.GOV.BC.CA>
  • Loading branch information
cditcher and chris.ditcher authored Jul 20, 2023
1 parent 48f95aa commit b95612c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public boolean sftpUploadBCMail(Long batchId, String rootFolder) {
files.computeIfAbsent(localZipFile, v -> new ArrayList<>()).add(remoteZipFile);
files.computeIfAbsent(localControlFile, v -> new ArrayList<>()).add(remoteControlFile);
// GRAD2-2224 - Short term solution to also upload files to dev folder for business retrieval.
if(!BC_MAIL_LOCATION.toLowerCase().contains("dev")){
if(BC_MAIL_LOCATION.toLowerCase().contains("prod")){
// also upload to dev
String dev = "/Inbox/Dev/";
files.computeIfAbsent(formatPath(localZipFile), v -> new ArrayList<>()).add(formatPath(dev + zipFile));
Expand Down

0 comments on commit b95612c

Please sign in to comment.