Skip to content

Commit

Permalink
[LEIP-184] Add filesSize to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Oct 26, 2023
1 parent 834f401 commit dc48f55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ version = "0.0.0" // Automatically overwritten by CI
// Versions of dependencies
extra["slf4jVersion"] = "2.0.7"
// FIXME: Check if we can remove this after we port the new auth from android-backend to this library
extra["cyfaceSerializationVersion"] = "3.2.0-alpha1"
extra["cyfaceSerializationVersion"] = "3.2.0-alpha2"
extra["googleApiClientVersion"] = "2.2.0" // transmission protocol
extra["gradleWrapperVersion"] = "7.6.1"

Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/de/cyface/uploader/DefaultUploader.kt
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ class DefaultUploader(private val apiEndpoint: String) : Uploader {
attributes["logCount"] = metaData.logCount.toString()
attributes["imageCount"] = metaData.imageCount.toString()
attributes["videoCount"] = metaData.videoCount.toString()
attributes["filesSize"] = metaData.filesSize.toString()
return attributes
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@ class RequestInitializeHandler(
headers["logCount"] = metaData.logCount
headers["imageCount"] = metaData.imageCount
headers["videoCount"] = metaData.videoCount
headers["filesSize"] = metaData.filesSize
}
}

0 comments on commit dc48f55

Please sign in to comment.