refactor: clean up album and auth handlers by removing unused structs and imports

This commit is contained in:
2025-11-04 06:02:10 +01:00
parent eaf4c90fa8
commit 4f7b93a8b0
6 changed files with 83 additions and 89 deletions

View File

@@ -38,7 +38,7 @@ impl QueryBuilder<ListMediaOptions> for MediaQueryBuilder {
mut query: SqlxQueryBuilder<'a, sqlx::Postgres>,
options: &'a ListMediaOptions,
) -> CoreResult<SqlxQueryBuilder<'a, sqlx::Postgres>> {
if let Some(filter) = &options.filter {
if let Some(_filter) = &options.filter {
// In the future, you would add logic here:
// if let Some(mime) = &filter.mime_type {
// query.push(" AND mime_type = ");