Tiny smidge of tidying
This commit is contained in:
parent
4f05c1cbae
commit
9d7f4f5932
7
Code.gs
7
Code.gs
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user