Skip to content

Commit c6b6c09

Browse files
committed
Change stray camera photos node name
1 parent 559ae1c commit c6b6c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/pl/rmakowiecki/smartalarmcore/remote/AlarmBackendInteractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class AlarmBackendInteractor(private val activity: AlarmActivity) : AlarmBackend
9090
override fun uploadPhoto(photoBytes: ByteArray): Single<Boolean> = Single.create { emitter ->
9191
storageNode.child(CORE_DEVICE_DIRECTORY)
9292
.child(IMAGES_DIRECTORY)
93-
.child(getCurrentBackendUser()?.uid ?: "leaked_photos")
93+
.child(getCurrentBackendUser()?.uid ?: "non_assignable_photos")
9494
.child("alarm_photo_${Calendar.getInstance().timeInMillis}.jpg")
9595
.putBytes(photoBytes)
9696
.addOnCompleteListener { emitter.onSuccess(it.isSuccessful) }

0 commit comments

Comments
 (0)