Offline First Android software client for CommCare, the world's largest platform for designing, managing, and deploying robust mobile applications to frontline workers worldwide
In CommCareHQ, the app_id is added to the response body from the GET request itself, from a query param, and because the existing logic that builds HTTP requests for requests that don't need authentication is ignoring any params that have been passed, the app_id is not part of the request, causing it to be null in the response body. With the app_id logic not present the Recovery Measures are not being triggered when they should.
Summary
This PR fixes an issue that is causing the
app_id
in the response body of the Recovery Measures GET request to benull
.In CommCareHQ, the
app_id
is added to the response body from the GET request itself, from a query param, and because the existing logic that builds HTTP requests for requests that don't need authentication is ignoring any params that have been passed, theapp_id
is not part of the request, causing it to benull
in the response body. With theapp_id
logic not present the Recovery Measures are not being triggered when they should.cross-request: https://github.com/dimagi/commcare-core/pull/1422 Ticket: https://dimagi.atlassian.net/browse/QA-6606
Safety Assurance
Safety story
This only passes query params for HTTP requests without auth