Skip to content

Commit c1eef72

Browse files
include deprecated in message
1 parent 90da13e commit c1eef72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const fetchData = (req, res) => {
5252
db.query(params).then(result => {
5353
const response = result.map(dataPoint => Object.assign(
5454
{
55-
notice: req.version === '1.1' ? 'v1 is no longer supported. Use v2 instead. See https://analytics.usa.gov/developer' : undefined,
55+
notice: req.version === '1.1' ? 'v1 is being deprecated. Use v2 instead. See https://analytics.usa.gov/developer' : undefined,
5656
id: dataPoint.id,
5757
date: formatDateForDataPoint(dataPoint),
5858
report_name: dataPoint.report_name,

0 commit comments

Comments
 (0)