From 131dd5ab9df295b0bad320675b2307afcbf7d076 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Sun, 10 Jul 2022 07:43:40 -0400 Subject: colonies: List users First work towards cloud-init data being stored in homeworld --- src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 4a02f95..67b54ea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -54,6 +54,7 @@ async fn main() { .route("/ships/new", post(handlers::ships::new)) .route("/ships/delete/:shasum", delete(handlers::ships::delete)) .route("/ships/get/:shasum", get(handlers::ships::get)) + .route("/users/list", get(handlers::colonies::list_users)) .layer( ServiceBuilder::new() .layer(HandleErrorLayer::new(|error: BoxError| async move { -- cgit v1.2.3