Skip to content

Commit

Permalink
fix: Make getLastUploadQuery() private
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Dec 23, 2024
1 parent 7c278f4 commit 1cd1885
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class UploadController(private val realmProvider: RealmProvider) {
return query<UploadSessionDB>("${UploadSessionDB::uuid.name} == '$uuid'").first()
}

fun TypedRealm.getLastUploadQuery(): RealmSingleQuery<UploadSessionDB> {
private fun TypedRealm.getLastUploadQuery(): RealmSingleQuery<UploadSessionDB> {
return query<UploadSessionDB>().first()
}
//endregion
Expand Down

0 comments on commit 1cd1885

Please sign in to comment.