1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-06-28 18:25:41 +02:00

Fix casing error in Attachment, should fix 'Attachment doesn't exist' errors

Dieser Commit ist enthalten in:
Daniel García 2019-01-11 01:35:15 +01:00
Ursprung 1d7f704754
Commit 6f52104324
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: FC8A7D14C3CD543A

Datei anzeigen

@ -85,6 +85,8 @@ impl Attachment {
}
pub fn find_by_id(id: &str, conn: &DbConn) -> Option<Self> {
let id = id.to_lowercase();
attachments::table
.filter(attachments::id.eq(id))
.first::<Self>(&**conn)