diff --git a/wfdm-file-index-service/src/main/java/ca/bc/gov/nrs/wfdm/wfdm_file_index_service/GetFileFromWFDMAPI.java b/wfdm-file-index-service/src/main/java/ca/bc/gov/nrs/wfdm/wfdm_file_index_service/GetFileFromWFDMAPI.java index 3f37cf4..eb9d0f8 100644 --- a/wfdm-file-index-service/src/main/java/ca/bc/gov/nrs/wfdm/wfdm_file_index_service/GetFileFromWFDMAPI.java +++ b/wfdm-file-index-service/src/main/java/ca/bc/gov/nrs/wfdm/wfdm_file_index_service/GetFileFromWFDMAPI.java @@ -112,7 +112,7 @@ public static boolean setIndexedMetadata(String accessToken, String fileId, Stri } if (!creatorExists) creatorExists = metadataName.equals("Creator"); - if (!uploadedByExists) uploadedByExists = metadataName.equals("UploadBy"); + if (!uploadedByExists) uploadedByExists = metadataName.equals("UploadedBy"); if (!titleExists) titleExists = metadataName.equals("Title"); if (!dateCreatedExists) dateCreatedExists = metadataName.equals("DateCreated"); if (!dateModifiedExists) dateModifiedExists = metadataName.equals("DateModified");