mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-11-22 05:06:37 +00:00
Fix casing error in Attachment, should fix 'Attachment doesn't exist' errors
This commit is contained in:
parent
1d7f704754
commit
6f52104324
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user