summaryrefslogtreecommitdiffstats
path: root/src/routes/warning.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-26 15:11:48 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-26 15:11:48 +0000
commitdfbee1cebc8c6ca6b09c55f9c576c15a4f7b9979 (patch)
treea49785a64805fd9aa0c11d7e78f716d53b35fbb5 /src/routes/warning.rs
parent42055921eecc62d31fa6117b2b192941bcd3896e (diff)
Fix pagination for warnings
Diffstat (limited to 'src/routes/warning.rs')
-rw-r--r--src/routes/warning.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/warning.rs b/src/routes/warning.rs
index 87ca514..1870843 100644
--- a/src/routes/warning.rs
+++ b/src/routes/warning.rs
@@ -6,7 +6,7 @@ use crate::{
user::User,
warning::{Warning, WarningCreate},
},
- pagination::Pagination,
+ pagination::{Pagination, WarningPagination},
routes::JsonCreate,
};
use axum::{extract::Query, routing::get, Json, Router};