Skip to content

Commit

Permalink
Fix login issue with new EU Server update
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
paul1956 committed Apr 6, 2024
1 parent 981ee63 commit 37a544a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
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.2</Version>
<AssemblyVersion>4.0.1.2</AssemblyVersion>
<FileVersion>4.0.1.2</FileVersion>
<Version>4.0.1.3</Version>
<AssemblyVersion>4.0.1.3</AssemblyVersion>
<FileVersion>4.0.1.3</FileVersion>
<PackageIcon>IconImage.png</PackageIcon>
<PackageIconUrl />
<PackageProjectUrl>https://github.com/paul1956/CareLink</PackageProjectUrl>
Expand Down
7 changes: 6 additions & 1 deletion src/CareLink/CareLinkCommunications/CareLinkClient.vb
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,12 @@ Public Class CareLinkClient
Select Case Me.GetAuthorizationToken(authToken)
Case GetAuthorizationTokenResult.OK
Dim jsonDictionary As Dictionary(Of String, String) = Me.GetDataItems(authToken, endPointPath, requestBody)
If _lastResponseCode <> HttpStatusCode.OK Then
If _lastResponseCode = HttpStatusCode.OK Then
Return jsonDictionary
End If
If _lastResponseCode = HttpStatusCode.NoContent Then
ReportLoginStatus(Form1.LoginStatus, True, _lastErrorMessage)
Else
ReportLoginStatus(Form1.LoginStatus)
End If
Return jsonDictionary
Expand Down
2 changes: 1 addition & 1 deletion src/CareLink/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -4407,7 +4407,7 @@
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
},
"project": {
"version": "4.0.1.2",
"version": "4.0.1.3",
"restore": {
"projectUniqueName": "C:\\Users\\PaulM\\Source\\Repos\\CareLink\\src\\CareLink\\CareLink.vbproj",
"projectName": "CareLink",
Expand Down

0 comments on commit 37a544a

Please sign in to comment.