Fix signups query

This commit is contained in:
Nathan Sobo 2021-09-14 13:23:35 -06:00
parent 201b923248
commit 4be17b7a9b

View File

@ -66,7 +66,7 @@ impl Db {
pub async fn get_all_signups(&self) -> Result<Vec<Signup>> {
test_support!(self, {
let query = "SELECT * FROM users ORDER BY github_login ASC";
let query = "SELECT * FROM signups ORDER BY github_login ASC";
sqlx::query_as(query).fetch_all(&self.pool).await
})
}