Skip to content

Commit

Permalink
fix: string for CSV result URLs
Browse files Browse the repository at this point in the history
return text/plain instead of JSON or quote-wrapped string, until coordinated UI changes are made
  • Loading branch information
ansoncfit committed Apr 2, 2024
1 parent 7f5aef9 commit a478475
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ public void registerEndpoints (spark.Service sparkService) {
sparkService.get("/:_id", this::getRegionalAnalysis);
sparkService.get("/:_id/all", this::getAllRegionalResults, toJson);
sparkService.get("/:_id/grid/:format", this::getRegionalResults, toJson);
sparkService.get("/:_id/csv/:resultType", this::getCsvResults, toJson);
sparkService.get("/:_id/csv/:resultType", this::getCsvResults);
sparkService.get("/:_id/scenarioJsonUrl", this::getScenarioJsonUrl, toJson);
sparkService.delete("/:_id", this::deleteRegionalAnalysis, toJson);
sparkService.post("", this::createRegionalAnalysis, toJson);
Expand Down

0 comments on commit a478475

Please sign in to comment.