Fix merge request race condition

This commit is contained in:
Torsten Grote
2022-02-18 12:02:06 -03:00
parent 9141a8bb3b
commit 003ecdb81f

View File

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