some clippy fixes
This commit is contained in:
parent
3b1a0c4207
commit
46abd9dd7a
13 changed files with 54 additions and 85 deletions
|
|
@ -318,7 +318,7 @@ pub async fn update_presentation_in_db(
|
|||
.unwrap_or_default();
|
||||
let html = presentation.kind == PresKind::Html;
|
||||
let mut db = db.detach();
|
||||
let id = presentation.id.clone();
|
||||
let id = presentation.id;
|
||||
if let Err(e) =
|
||||
query!("SELECT id FROM presentations where id = $1", id)
|
||||
.fetch_one(&mut db)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue