Skip to content

Commit

Permalink
re-enable cors for listFacets API endpoint; wasn't the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pameyer committed Feb 10, 2017
1 parent 3ae1935 commit 8151c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/api/Dataverses.java
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public Response listFacets( @PathParam("identifier") String dvIdtf ) {
{
fs.add( f.getDatasetFieldType().getName() );
}
return ok( fs );
return allowCors( ok( fs ) );
}
catch( WrappedResponse e )
{
Expand Down

0 comments on commit 8151c9b

Please sign in to comment.