Fix typo: add missing &pool parameter

This commit is contained in:
Rolf Kreibaum 2020-10-29 21:46:05 +01:00 committed by Austin Bonander
parent e44031676f
commit 81ef89401e

View file

@ -335,7 +335,7 @@ WHERE organization = ?
",
organization
)
.fetch_all() // -> Vec<Country>
.fetch_all(&pool) // -> Vec<Country>
.await?;
// countries[0].country