removed hello_world

This commit is contained in:
2022-07-18 10:51:59 +02:00
parent e616179774
commit c2c8290dfe

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>>();