fix getUsersScheduledForDeletion query

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

View File

@ -78,7 +78,7 @@ abstract class UsersDao {
@Query("SELECT * FROM User where userId != :userId")
abstract fun getUsersWithoutUserId(userId: Long): Single<List<UserEntity>>
@Query("SELECT * FROM User where current = 0")
@Query("SELECT * FROM User where scheduledForDeletion = 1")
abstract fun getUsersScheduledForDeletion(): Single<List<UserEntity>>
@Query("SELECT * FROM User where scheduledForDeletion = 0")