removed hello_world

This commit is contained in:
Kasper Juul Hermansen 2022-07-18 10:51:59 +02:00
parent e616179774
commit c2c8290dfe
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -14,10 +14,6 @@ pub struct QueryRoot;
#[Object] #[Object]
impl QueryRoot { impl QueryRoot {
async fn hello_world(&self) -> &str {
"Hello, world!"
}
async fn get_download(&self, ctx: &Context<'_>, id: ID) -> Result<Option<Download>> { async fn get_download(&self, ctx: &Context<'_>, id: ID) -> Result<Option<Download>> {
let app = ctx.data_unchecked::<Arc<App>>(); let app = ctx.data_unchecked::<Arc<App>>();