Skip to content

Commit 6726e66

Browse files
jp-toscaCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1c31c15 commit 6726e66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/edu/harvard/iq/dataverse/api/Dataverses.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ public Response getStorageDriver(@Context ContainerRequestContext crc, @PathPara
20592059
}
20602060

20612061
return response(req -> {
2062-
String storageDriver = execCommand(new GetDataverseStorageDriverCommand(req, findDataverseOrDie(id), getEffective));
2062+
String storageDriver = execCommand(new GetDataverseStorageDriverCommand(req, dataverse, getEffective));
20632063
return ok(JsonPrinter.jsonStorageDriver(storageDriver));
20642064
}, getRequestUser(crc));
20652065
}

0 commit comments

Comments
 (0)