fix: set url to null, add TODO
This commit is contained in:
parent
c9a73ced8f
commit
6a249056b0
@ -49,10 +49,12 @@ class LogoutCloud {
|
||||
.withAccessToken(null) //
|
||||
.build();
|
||||
} else if (cloud instanceof PCloudCloud) {
|
||||
//TODO proper logout?
|
||||
return PCloudCloud //
|
||||
.aCopyOf((PCloudCloud) cloud) //
|
||||
.withUsername(null) //
|
||||
.withAccessToken(null) //
|
||||
.withUrl(null) //
|
||||
.build();
|
||||
}
|
||||
throw new IllegalStateException("Logout not supported for cloud with type " + cloud.type());
|
||||
|
Loading…
x
Reference in New Issue
Block a user