fix getUsers query

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-06-27 18:33:53 +02:00
parent f1dff03188
commit 3ccf41d1a6
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -63,7 +63,7 @@ abstract class UsersDao {
abstract fun saveUsers(vararg users: UserEntity): List<Long>
// get all users not scheduled for deletion
@Query("SELECT * FROM User where current != 0")
@Query("SELECT * FROM User where scheduledForDeletion != 1")
abstract fun getUsers(): Single<List<UserEntity>>
@Query("SELECT * FROM User where id = :id")