Moved delete into action module.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
This commit is contained in:
@@ -348,22 +348,6 @@ mod documents {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Delete {
|
||||
query: Query,
|
||||
}
|
||||
|
||||
impl Delete {
|
||||
pub fn new(query: Query) -> Self {
|
||||
Self {
|
||||
query: query.into(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_query(&self) -> &Query {
|
||||
&self.query
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Update {
|
||||
|
||||
Reference in New Issue
Block a user