Skip to content
Snippets Groups Projects
Unverified Commit 6e8b0535 authored by harambasicluka's avatar harambasicluka Committed by GitHub
Browse files

Consolidate all number of retrieve diagnosis keys into one (#1088) (EXPOSUREAPP-2405)

parent cdfc92ab
No related branches found
No related tags found
No related merge requests found
...@@ -270,13 +270,11 @@ object RetrieveDiagnosisKeysTransaction : Transaction() { ...@@ -270,13 +270,11 @@ object RetrieveDiagnosisKeysTransaction : Transaction() {
exportFiles: Collection<File>, exportFiles: Collection<File>,
exposureConfiguration: ExposureConfiguration? exposureConfiguration: ExposureConfiguration?
) = executeState(API_SUBMISSION) { ) = executeState(API_SUBMISSION) {
exportFiles.forEach { batch -> InternalExposureNotificationClient.asyncProvideDiagnosisKeys(
InternalExposureNotificationClient.asyncProvideDiagnosisKeys( exportFiles,
listOf(batch), exposureConfiguration,
exposureConfiguration, token
token )
)
}
Timber.tag(TAG).d("Diagnosis Keys provided successfully, Token: $token") Timber.tag(TAG).d("Diagnosis Keys provided successfully, Token: $token")
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment