We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 559ae1c commit c6b6c09Copy full SHA for c6b6c09
app/src/main/java/pl/rmakowiecki/smartalarmcore/remote/AlarmBackendInteractor.kt
@@ -90,7 +90,7 @@ class AlarmBackendInteractor(private val activity: AlarmActivity) : AlarmBackend
90
override fun uploadPhoto(photoBytes: ByteArray): Single<Boolean> = Single.create { emitter ->
91
storageNode.child(CORE_DEVICE_DIRECTORY)
92
.child(IMAGES_DIRECTORY)
93
- .child(getCurrentBackendUser()?.uid ?: "leaked_photos")
+ .child(getCurrentBackendUser()?.uid ?: "non_assignable_photos")
94
.child("alarm_photo_${Calendar.getInstance().timeInMillis}.jpg")
95
.putBytes(photoBytes)
96
.addOnCompleteListener { emitter.onSuccess(it.isSuccessful) }
0 commit comments