Skip to content

Commit 75c2c95

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent e9a7868 commit 75c2c95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/src/main/java/nl/knaw/dans/lib/dataverse/FileApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class FileApi extends AbstractTargetedApi {
5050
* @see <a href="https://guides.dataverse.org/en/latest/api/native-api.html#get-json-representation-of-a-file" target="_blank">Dataverse documentation</a>
5151
*/
5252
public DataverseHttpResponse<FileMeta> getMetadata() throws IOException, DataverseException {
53-
return httpClientWrapper.get(subPath(""), params(emptyMap()), new HashMap<>(), FileMeta.class);
53+
return httpClientWrapper.get(subPath(""), params(emptyMap()), extraHeaders, FileMeta.class);
5454
}
5555

5656
// TODO: https://guides.dataverse.org/en/latest/api/native-api.html#restrict-files

0 commit comments

Comments
 (0)