diff options
author | Cara Salter <cara@devcara.com> | 2022-07-10 07:43:40 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-07-10 07:43:40 -0400 |
commit | 131dd5ab9df295b0bad320675b2307afcbf7d076 (patch) | |
tree | a971b3506198935d98e87282deaa2297c4241d84 /src/main.rs | |
parent | 90823a79ef80f6a589a414fb8a3006c8ff17a95d (diff) | |
download | homeworld-131dd5ab9df295b0bad320675b2307afcbf7d076.tar.gz homeworld-131dd5ab9df295b0bad320675b2307afcbf7d076.zip |
colonies: List users
First work towards cloud-init data being stored in homeworld
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |