Skip to content

Commit

Permalink
Merge pull request #56 from sgmoore/ValidateNightscoutURL
Browse files Browse the repository at this point in the history
Fixed error validating Nightscout URL
  • Loading branch information
Delubear authored Jun 3, 2021
2 parents 58e8fdf + 4bb80ca commit 1c0e1a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GlucoseTrayCore/Services/SettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private static string ValidateNightScout(GlucoseTraySettings model)
{
var url = $"{model.NightscoutUrl}/api/v1/status.json";

url += !string.IsNullOrWhiteSpace(model.AccessToken) ? $"&token={model.AccessToken}" : string.Empty;
url += !string.IsNullOrWhiteSpace(model.AccessToken) ? $"?token={model.AccessToken}" : string.Empty;

using (var httpClient = new HttpClient())
{
Expand Down
2 changes: 1 addition & 1 deletion GlucoseTrayCore/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appsettings": {
"Version": "11.1.3"
"Version": "11.1.4"
}
}

0 comments on commit 1c0e1a1

Please sign in to comment.