Fix clippy.

This commit is contained in:
Dessalines 2023-10-20 11:10:50 -04:00
parent f752e3cd63
commit 5da27437a8

View file

@ -542,7 +542,7 @@ impl PostView {
my_person_id: Option<PersonId>,
is_mod_or_admin: bool,
) -> Result<Self, Error> {
let mut res = queries()
let res = queries()
.read(pool, (post_id, my_person_id, is_mod_or_admin))
.await?;