1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Merge pull request #201 from hannesa2/FixWrongUsed-OC_X_REQUEST_ID

fix a bug with wrong used OC_X_REQUEST_ID
This commit is contained in:
David González Verdugo 2018-10-25 09:01:28 +02:00 committed by GitHub
commit b57212890c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,7 @@ public class OwnCloudClient extends HttpClient {
String requestId = RandomUtils.generateRandomUUID(); String requestId = RandomUtils.generateRandomUUID();
// Header to allow tracing requests in apache and ownCloud logs // Header to allow tracing requests in apache and ownCloud logs
addHeaderForAllRequests(OC_X_REQUEST_ID, RandomUtils.generateRandomUUID()); addHeaderForAllRequests(OC_X_REQUEST_ID, requestId);
Log_OC.d(TAG, "Executing " + method.getClass().getSimpleName() + " in request with id " + requestId); Log_OC.d(TAG, "Executing " + method.getClass().getSimpleName() + " in request with id " + requestId);
} }