Skip to content

Commit f70d847

Browse files
committed
CareFollow - v11 endpoint for US:
- use the new v11 cloud data endpoint in case of US too
1 parent 2baa087 commit f70d847

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)