Fix bad interfaces causing loop

This commit is contained in:
canpan14
2023-07-13 08:36:25 -04:00
parent cb4dde6035
commit 3fd3b128be
2 changed files with 2 additions and 2 deletions

View File

@@ -260,7 +260,7 @@ public interface Renditions
*/
default DirectAccessUrl requestContentDirectUrl(NodeRef nodeRef, String versionId, String renditionId, boolean attachment, Long validFor)
{
return requestContentDirectUrl(nodeRef, versionId, renditionId, attachment, validFor);
return requestContentDirectUrl(nodeRef, versionId, renditionId, attachment, validFor, null);
}
/**

View File

@@ -247,7 +247,7 @@ public interface ContentService
@Auditable(parameters = {"nodeRef", "propertyQName", "validFor"})
default DirectAccessUrl requestContentDirectUrl(NodeRef nodeRef, QName propertyQName, boolean attachment, Long validFor)
{
return requestContentDirectUrl(nodeRef, propertyQName, attachment, validFor);
return requestContentDirectUrl(nodeRef, propertyQName, attachment, validFor, null);
}
/**