Skip to content

Commit 89189a1

Browse files
committed
Missing API path in asOf endpoint
1 parent 9726e7b commit 89189a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memex/templates/controller/Controller.java.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public class __className__Controller {
211211
/**
212212
* Get historical data as of a specific date
213213
*/
214-
@GetMapping(value = "/asOf", produces = MediaType.APPLICATION_JSON_VALUE)
214+
@GetMapping(value = "/__apiPath__/asOf", produces = MediaType.APPLICATION_JSON_VALUE)
215215
public ResponseEntity<StreamingResponseBody> dataAtDate(
216216
@RequestParam(name = "asOfDate") @DateTimeFormat(pattern = "yyyyMMddHHmmss") Date asOfDate,
217217
@RequestParam(name = "id") __idType__ id) {

0 commit comments

Comments
 (0)