removed hello_world
This commit is contained in:
parent
e616179774
commit
c2c8290dfe
@ -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>>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user