diff --git a/src/routes/splash.rs b/src/routes/splash.rs index 08b7955..644a0c2 100644 --- a/src/routes/splash.rs +++ b/src/routes/splash.rs @@ -29,7 +29,7 @@ struct Splash { async fn random_splash() -> Response { let conn = setup::initialise_sqlite_connection(); - let query = "SELECT splash FROM splashes ORDER BY RANDOM() LIMIT 1"; + let query = "SELECT * FROM splashes ORDER BY RANDOM() LIMIT 1"; let mut statement = conn.prepare(query).unwrap();