Merge branch 'onion-address-fix' into 'master'

Fix merge request race condition

See merge request briar/briar!1589
This commit is contained in:
akwizgran
2022-02-18 15:33:00 +00:00

View File

@@ -96,7 +96,7 @@ class MailboxApiImpl implements MailboxApi {
throws IOException, ApiException { throws IOException, ApiException {
if (!properties.isOwner()) throw new IllegalArgumentException(); if (!properties.isOwner()) throw new IllegalArgumentException();
Request request = getRequestBuilder(properties.getAuthToken()) Request request = getRequestBuilder(properties.getAuthToken())
.url(properties.getOnionAddress() + "/") .url(properties.getBaseUrl() + "/")
.delete() .delete()
.build(); .build();
OkHttpClient client = httpClientProvider.get(); OkHttpClient client = httpClientProvider.get();