Skip to content

Commit

Permalink
Merge pull request IQSS#112 from mderuijter/dd-562-implement-GET-api-…
Browse files Browse the repository at this point in the history
…admin-licenses-default

DD-562 Implement GET /api/admin/licenses/default
  • Loading branch information
janvanmansum authored Sep 10, 2021
2 parents 0dd15b0 + 9223a3e commit 31d7470
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/edu/harvard/iq/dataverse/api/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,11 @@ public Response addLicense(License license) {
}
}

// TODO: GET /licenses/default
@GET
@Path("/licenses/default")
public Response getDefault(){
return ok("Default license ID is " + licenseService.getDefault().getId());
}

@PUT
@Path("/licenses/default")
Expand Down

0 comments on commit 31d7470

Please sign in to comment.