Skip to content

Commit 7c8d6b7

Browse files
committed
FFL-1720: Remove EVALLOG spec references from network layer
1 parent 7c61c5f commit 7c8d6b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/dd-sdk-android-flags/src/main/kotlin/com/datadog/android/flags/internal/net/EvaluationsRequestFactory.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import java.util.UUID
1818
/**
1919
* Factory for creating requests to the EVP intake endpoint for evaluation logging.
2020
*
21-
* Per EVALLOG.1:
21+
* Request format:
2222
* - Endpoint: /api/v2/flagevaluations
2323
* - Content-Type: application/json
2424
* - Payload: BatchedFlagEvaluations with context wrapper
@@ -51,7 +51,7 @@ internal class EvaluationsRequestFactory(
5151
sdkVersion = context.sdkVersion
5252
),
5353
body = buildBatchedPayload(context, batchData),
54-
contentType = RequestFactory.CONTENT_TYPE_JSON // EVALLOG.1: application/json
54+
contentType = RequestFactory.CONTENT_TYPE_JSON
5555
)
5656
}
5757

@@ -79,7 +79,7 @@ internal class EvaluationsRequestFactory(
7979
/**
8080
* Builds the batched payload with context wrapper.
8181
*
82-
* Per EVALLOG.1, the payload must be a BatchedFlagEvaluations object:
82+
* The payload must be a BatchedFlagEvaluations object:
8383
* {
8484
* "context": { service, version, env, device, os, rum, geo },
8585
* "flagEvaluations": [ ... ]

0 commit comments

Comments
 (0)