fix 'fetch_all' typo

This commit is contained in:
Maksim Vykhota 2020-04-11 14:17:36 +03:00 committed by Ryan Leckey
parent 80eb2cc7d2
commit 5865635a80

View file

@ -274,7 +274,7 @@ WHERE organization = ?
",
organization
)
.fetch_all() // -> Vec<{ country: String, count: i64 }>
.fetch_all(&pool) // -> Vec<{ country: String, count: i64 }>
.await?;
// countries[0].country