first commit
This commit is contained in:
commit
2a1854ab08
120 files changed
+11300
No files matched your search
@@ -0,0 +1,6 @@
|
||||
use super::{dto::*, repo};
|
||||
use crate::{error::AppResult, shared::ImageRef, state::AppState};
|
||||
|
||||
pub async fn handle(state: &AppState, q: &ListImagesQuery) -> AppResult<Vec<ImageRef>> {
|
||||
Ok(repo::list(&state.db, q).await?)
|
||||
}
|
||||
Reference in new issue
Block a user