Skip to content

Commit 90f91c3

Browse files
committed
* Bump version to 14.0.3
* Fix a bug in the REST API query for profiles
1 parent fbe3e9b commit 90f91c3

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

npm-shrinkwrap.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nightscout",
3-
"version": "14.0.2",
3+
"version": "14.0.3",
44
"description": "Nightscout acts as a web-based CGM (Continuous Glucose Montinor) to allow multiple caregivers to remotely view a patients glucose data in realtime.",
55
"license": "AGPL-3.0",
66
"author": "Nightscout Team",

static/report/js/report.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@
764764
$('#info > b').html('<b>' + translate('Loading core profiles') + ' ...</b>');
765765

766766
//The results must be returned in descending order to work with key logic in routines such as getCurrentProfile
767-
var tquery = '?find[startDate][$gte]=' + new Date(dateFrom).toISOString() + '&find[startDate][$lte]=' + new Date(dateTo).toISOString() + '&sort[startDate]=-1&count=' + dayCount;
767+
var tquery = '?find[startDate][$gte]=' + new Date(dateFrom).toISOString() + '&find[startDate][$lte]=' + new Date(dateTo).toISOString() + '&sort[startDate]=-1&count=1000';
768768

769769
return $.ajax('/api/v1/profiles' + tquery, {
770770
headers: client.headers(),

swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"info": {
99
"title": "Nightscout API",
1010
"description": "Own your DData with the Nightscout API",
11-
"version": "14.0.2",
11+
"version": "14.0.3",
1212
"license": {
1313
"name": "AGPL 3",
1414
"url": "https://www.gnu.org/licenses/agpl.txt"

swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ servers:
44
info:
55
title: Nightscout API
66
description: Own your DData with the Nightscout API
7-
version: 14.0.2
7+
version: 14.0.3
88
license:
99
name: AGPL 3
1010
url: 'https://www.gnu.org/licenses/agpl.txt'

0 commit comments

Comments
 (0)