From 9d7f4f5932138efd053871915f2546b1ed30d54f Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 21 Jan 2023 20:42:45 -0500 Subject: [PATCH] Tiny smidge of tidying --- Code.gs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Code.gs b/Code.gs index 69fde3c..c2bf431 100644 --- a/Code.gs +++ b/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": {