Tiny smidge of tidying

This commit is contained in:
Dan Buch 2023-01-21 20:42:45 -05:00
parent 4f05c1cbae
commit 9d7f4f5932
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -1,3 +1,4 @@
// vim:filetype=javascript
const defaultSeriesURL = "https://api.bls.gov/publicAPI/v2/timeseries/data/";
const defaultSeriesID = "CUUR0200SA0";
const defaultStartYear = "2014";
@ -11,9 +12,9 @@ function CURRENTCPI(blsToken, options) {
var reqOptions = {
"method": "post",
"payload": JSON.stringify({
"seriesid": [seriesID],
"startyear": startYear,
"endyear": endYear
"seriesid": [seriesID],
"startyear": startYear,
"endyear": endYear
}),
"contentType": "application/json",
"headers": {