File tree 2 files changed +1
-3
lines changed
src/main/java/com/auth0/guardian 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 60
60
61
61
dependencies {
62
62
compile ' com.squareup.okhttp3:okhttp:3.6.0'
63
- compile ' com.squareup.okhttp3:logging-interceptor:3.6.0'
64
63
compile ' com.fasterxml.jackson.core:jackson-databind:2.8.7'
65
64
66
65
testCompile ' org.mockito:mockito-core:2.5.4'
Original file line number Diff line number Diff line change 26
26
import com .auth0 .guardian .networking .RequestFactory ;
27
27
import okhttp3 .HttpUrl ;
28
28
import okhttp3 .OkHttpClient ;
29
- import okhttp3 .logging .HttpLoggingInterceptor ;
30
29
31
30
class APIClient {
32
31
33
32
private final HttpUrl baseUrl ;
34
33
private final RequestFactory requestFactory ;
35
34
36
35
APIClient (HttpUrl baseUrl ) {
37
- this (baseUrl , new OkHttpClient . Builder (). addInterceptor ( new HttpLoggingInterceptor (). setLevel ( HttpLoggingInterceptor . Level . BODY )). build ());
36
+ this (baseUrl , new OkHttpClient ());
38
37
}
39
38
40
39
APIClient (HttpUrl baseUrl , OkHttpClient client ) {
You can’t perform that action at this time.
0 commit comments