feature/scel-base #1

Merged
kjuulh merged 4 commits from feature/scel-base into 07-17-remove_ticker 2022-07-18 13:16:06 +02:00
Showing only changes of commit c2c8290dfe - Show all commits

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