Update getAllCiphers query to be consistent with other queries (#413)

This commit is contained in:
David Perez 2023-12-19 09:20:42 -06:00 committed by Álison Fernandes
parent 09d668f5ac
commit 8a2a205247

View file

@ -24,7 +24,7 @@ interface CiphersDao {
/** /**
* Retrieves all ciphers from the database for a given [userId]. * Retrieves all ciphers from the database for a given [userId].
*/ */
@Query("SELECT * FROM ciphers WHERE user_id IS :userId") @Query("SELECT * FROM ciphers WHERE user_id = :userId")
fun getAllCiphers( fun getAllCiphers(
userId: String, userId: String,
): Flow<List<CipherEntity>> ): Flow<List<CipherEntity>>