Skip to content

Commit 728c710

Browse files
authored
Merge pull request #3888 from benceszasz/master
CareLinkFollower - v11 endpoint for US also
2 parents b5987c3 + f70d847 commit 728c710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/eveningoutpost/dexdrip/cgm/carelinkfollow/client/CareLinkClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ public RecentData getConnectDisplayMessage(String username, String role, String
649649

650650
requestBody = RequestBody.create(MediaType.get("application/json; charset=utf-8"), gson.toJson(userJson));
651651

652-
//use new v11 endpoint outside US
653-
useNewEndpoint = !this.carelinkCountry.equals("us") ? true : false;
652+
//use new v11 endpoint in every region
653+
useNewEndpoint = true;
654654

655655
//new endpoint url
656656
newEndpointUrl = new HttpUrl.Builder()

0 commit comments

Comments
 (0)