Skip to content

Commit

Permalink
Merge pull request #2793 from dimagi/enable-no-auth-http-requests-wit…
Browse files Browse the repository at this point in the history
…h-params

Pass query params to HTTP requests that don't require authentication
  • Loading branch information
avazirna authored Jul 22, 2024
2 parents 7c06305 + 2eabb6d commit 83fc8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/org/commcare/CommCareApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ public ModernHttpRequester buildHttpRequester(Context context, String url,

CommCareNetworkService networkService;
if (authInfo instanceof AuthInfo.NoAuth) {
networkService = CommCareNetworkServiceGenerator.createNoAuthCommCareNetworkService();
networkService = CommCareNetworkServiceGenerator.createNoAuthCommCareNetworkService(params);
} else {
networkService = CommCareNetworkServiceGenerator.createCommCareNetworkService(
HttpUtils.getCredential(authInfo),
Expand Down

0 comments on commit 83fc8c4

Please sign in to comment.