aboutsummaryrefslogtreecommitdiffstats
path: root/sellershut/src/server/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sellershut/src/server/mod.rs')
-rw-r--r--sellershut/src/server/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/sellershut/src/server/mod.rs b/sellershut/src/server/mod.rs
index 9818ce5..b02618e 100644
--- a/sellershut/src/server/mod.rs
+++ b/sellershut/src/server/mod.rs
@@ -37,7 +37,8 @@ pub async fn router(state: Arc<AppState>) -> Router<()> {
let stubs = OpenApiRouter::with_openapi(doc)
.routes(utoipa_axum::routes!(routes::health))
.routes(utoipa_axum::routes!(routes::auth::auth))
- .routes(utoipa_axum::routes!(routes::auth::authorised));
+ .routes(utoipa_axum::routes!(routes::auth::authorised))
+ .routes(utoipa_axum::routes!(routes::me::get_me));
let (router, _api) = stubs.split_for_parts();