summaryrefslogtreecommitdiffstats
path: root/src/api.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-04-11 23:43:55 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-04-11 23:57:02 -0500
commitb26d3c09eaec958c75931cc126367d4124cbffad (patch)
tree04eb1039b1f4646d84356a3b1779b24701609417 /src/api.rs
parenta20f3667a88affa0498e564cea17e9e795162bb8 (diff)
refactor: improve error handling and layout
Diffstat (limited to 'src/api.rs')
-rw-r--r--src/api.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api.rs b/src/api.rs
index 0a6b8e0..f74e33a 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -3,6 +3,7 @@ use axum::{response::IntoResponse, routing::get};
use crate::state::AppState;
mod users;
+pub mod error;
pub fn router(state: AppState) -> axum::Router {
axum::Router::new()