mirror of
https://github.com/bitwarden/android.git
synced 2024-11-22 17:36:01 +03:00
Update getAllCiphers query to be consistent with other queries (#413)
This commit is contained in:
parent
09d668f5ac
commit
8a2a205247
1 changed files with 1 additions and 1 deletions
|
@ -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>>
|
||||||
|
|
Loading…
Reference in a new issue