Skip to content

Commit eff1759

Browse files
committed
add workaround to encyrpted files as well
1 parent 875fe66 commit eff1759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/uid2/core/util/MetadataHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static String getMetadataPathName(OperatorType operatorType, int siteId,
3636
StoreScope store;
3737
Boolean providePrivateSiteData = ConfigStore.Global.getBoolean("provide_private_site_data");
3838
if (supportsDecryption) { // Check if decryption is possible
39-
if (operatorType == OperatorType.PUBLIC ) //siteId_public folder
39+
if (operatorType == OperatorType.PUBLIC || (providePrivateSiteData == null || !providePrivateSiteData.booleanValue()))
4040
{
4141
store = new EncryptedScope(new CloudPath(metadataPathName), siteId, true);
4242
} else //siteId_private folder

0 commit comments

Comments
 (0)