commit 89e544009faaf8e40c6b3983ccd6102b88d4fb47 parent 8bed867798f59447b940fbf6c0b1a9d5e45056ad Author: Miroslav Prasil <miroslav@prasil.info> Date: Sun, 13 May 2018 13:20:00 +0100 Fix duplicate ciphers returned from find_by_user Diffstat:
M | src/db/models/cipher.rs | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/db/models/cipher.rs b/src/db/models/cipher.rs @@ -243,6 +243,7 @@ impl Cipher { ) )) .select(ciphers::all_columns) + .distinct() .load::<Self>(&**conn).expect("Error loading ciphers") }