From 1cd1885997dcbf214cf179cf4f55e5a54ddf16d0 Mon Sep 17 00:00:00 2001 From: Kevin Boulongne Date: Mon, 23 Dec 2024 09:50:12 +0100 Subject: [PATCH] fix: Make `getLastUploadQuery()` private --- .../database/controllers/UploadController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/UploadController.kt b/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/UploadController.kt index 35dfe374..e0907960 100644 --- a/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/UploadController.kt +++ b/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/UploadController.kt @@ -125,7 +125,7 @@ class UploadController(private val realmProvider: RealmProvider) { return query("${UploadSessionDB::uuid.name} == '$uuid'").first() } - fun TypedRealm.getLastUploadQuery(): RealmSingleQuery { + private fun TypedRealm.getLastUploadQuery(): RealmSingleQuery { return query().first() } //endregion