summaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 810e202..2f4a727 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -1,3 +1,4 @@
+mod db;
mod errors;
mod logger;
@@ -50,7 +51,7 @@ async fn create_app() -> Router {
}
// Example root which says hi
-async fn hej() -> Result<Json<Hej>, errors::Error> {
+async fn hej() -> Result<Json<Hej>, errors::AppError> {
Ok(Json(Hej::new("hej verden".to_string())))
}