wip
This commit is contained in:
@@ -4,15 +4,16 @@ use crate::query;
|
||||
#[derive(Clone)]
|
||||
pub struct List;
|
||||
|
||||
impl query::QueryFn<QueryContext> for List {
|
||||
impl query::QueryFn for List {
|
||||
type Data = ();
|
||||
type Error = ();
|
||||
type Context = QueryContext;
|
||||
|
||||
fn key(&self) -> &'static str {
|
||||
"repo.list"
|
||||
}
|
||||
|
||||
async fn run(&self, _c: &QueryContext) -> Result<Self::Data, Self::Error> {
|
||||
async fn run(&self, _c: &Self::Context) -> Result<Self::Data, Self::Error> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user