Skip to content

Commit

Permalink
fix interceptor ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherdev committed Mar 19, 2020
1 parent 7d4fb9c commit 2afa760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public final class RestAuthApi {

private RestAuthApi() {
OkHttpClient okHttpClient = new OkHttpClient.Builder()
.addInterceptor(new RestAuthInterceptor(AppContext.get()))
.addInterceptor(new HttpLoggingInterceptor().setLevel(DEBUG ? BODY : BASIC))
.addInterceptor(new RestAuthInterceptor(AppContext.get()))
.build();

auth = buildApi(okHttpClient, IdentityToolkitApi.BASE_URL, IdentityToolkitApi.class);
Expand Down

0 comments on commit 2afa760

Please sign in to comment.