Merge pull request #212 from sschueller/develop
Version Bump-revert to fix broken auth
This commit is contained in:
commit
666c0ef6d2
@ -1,3 +1,6 @@
|
||||
### Version 1.0.46 Tag: v1.0.46 (2020-07-08)
|
||||
* Revert broken auth
|
||||
|
||||
### Version 1.0.45 Tag: v1.0.45 (2020-07-08)
|
||||
* Added token refresh
|
||||
|
||||
|
@ -23,8 +23,8 @@ android {
|
||||
applicationId "net.schueller.peertube"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 1045
|
||||
versionName "1.0.45"
|
||||
versionCode 1046
|
||||
versionName "1.0.46"
|
||||
buildConfigField "long", "BUILD_TIME", readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L'
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
ext {
|
||||
|
@ -33,7 +33,7 @@ public class RetrofitInstance {
|
||||
OkHttpClient.Builder okhttpClientBuilder = new OkHttpClient.Builder();
|
||||
|
||||
okhttpClientBuilder.addInterceptor(new AuthorizationInterceptor());
|
||||
okhttpClientBuilder.authenticator(new AccessTokenAuthenticator());
|
||||
//okhttpClientBuilder.authenticator(new AccessTokenAuthenticator());
|
||||
|
||||
retrofit = new retrofit2.Retrofit.Builder()
|
||||
.client(okhttpClientBuilder.build())
|
||||
|
Loading…
Reference in New Issue
Block a user