diff --git a/spring-credhub-core/src/main/java/org/springframework/credhub/core/CredHubTemplate.java b/spring-credhub-core/src/main/java/org/springframework/credhub/core/CredHubTemplate.java index 6b514b7..5d5cd13 100644 --- a/spring-credhub-core/src/main/java/org/springframework/credhub/core/CredHubTemplate.java +++ b/spring-credhub-core/src/main/java/org/springframework/credhub/core/CredHubTemplate.java @@ -303,7 +303,7 @@ public class CredHubTemplate implements CredHubOperations { return doWithRest(new RestOperationsCallback>() { @Override - public void doWithRestOperations(RestOperations restOperations) { + public Void doWithRestOperations(RestOperations restOperations) { ResponseEntity response = restOperations.exchange(PERMISSIONS_URL_PATH, POST, new HttpEntity(credentialPermissions),