fix: landing

This commit is contained in:
Maulana Sodiqin
2025-05-26 23:09:01 +07:00
parent a3c2715a85
commit f1e4e02697
9 changed files with 83 additions and 63 deletions
@@ -1,9 +1,8 @@
use super::{events_dto::EventsQueryDto, events_schema::EventsSchema};
use anyhow::{Result, bail};
use imphnen_libs::{AppState, MetaRequestDto, ResourceEnum, ResponseListSuccessDto};
use imphnen_utils::{DetailQueryBuilder, ListQueryBuilder, get_id, get_iso_date};
use super::{events_dto::EventsQueryDto, events_schema::EventsSchema};
pub struct EventsRepository<'a> {
state: &'a AppState,
}
@@ -13,7 +12,6 @@ impl<'a> EventsRepository<'a> {
Self { state }
}
// Get list of events with pagination and sorting by newest
pub async fn query_event_list(
&self,
meta: MetaRequestDto,