Browse Source

Fix duplicate ciphers returned from find_by_user

pull/14/head
Miroslav Prasil 7 years ago
parent
commit
89e544009f
  1. 1
      src/db/models/cipher.rs

1
src/db/models/cipher.rs

@ -243,6 +243,7 @@ impl Cipher {
)
))
.select(ciphers::all_columns)
.distinct()
.load::<Self>(&**conn).expect("Error loading ciphers")
}

Loading…
Cancel
Save