Skip to content

Commit

Permalink
Fix faiure after 35 minutes Issue #58
Browse files Browse the repository at this point in the history
  • Loading branch information
paul1956 committed Apr 3, 2024
1 parent 74ced89 commit 0744cd4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ A directory MyDocuments/CareLink/Settings contains a Settings File which is init
- Lastly is an area where you can enter your Carb Ratio by time.

## Updated
04/02/2024
04/03/2024

## What's New
New in 4.0.1.0
New in 4.0.1.1
- Fix issue Session expires after 35 minutes #58

- New in 4.0.1.0
- Fix ExpireTokenFormat
- Add new Pump message
- Complete rewrite of PDF file handling
Expand Down
6 changes: 3 additions & 3 deletions src/CareLink/CareLink.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<Copyright>Copyright (c) .NET Foundation and Contributors</Copyright>
<RepositoryUrl>https://github.com/paul1956/CareLink</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>4.0.1.0</Version>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<FileVersion>4.0.1.0</FileVersion>
<Version>4.0.1.1</Version>
<AssemblyVersion>4.0.1.1</AssemblyVersion>
<FileVersion>4.0.1.1</FileVersion>
<PackageIcon>IconImage.png</PackageIcon>
<PackageIconUrl />
<PackageProjectUrl>https://github.com/paul1956/CareLink</PackageProjectUrl>
Expand Down
2 changes: 1 addition & 1 deletion src/CareLink/CareLinkCommunications/CareLinkClient.vb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Public Class CareLinkClient
Using consentResponse As HttpResponseMessage = DoConsent(_httpClient, doLoginResponse, _lastErrorMessage)
_lastResponseCode = consentResponse?.StatusCode
If Not (consentResponse?.IsSuccessStatusCode) Then
_lastErrorMessage = consentResponse.ReasonPhrase
_lastErrorMessage = consentResponse.StatusCode.ToString
_lastResponseCode = consentResponse.StatusCode
Return False
End If
Expand Down

0 comments on commit 0744cd4

Please sign in to comment.