v0.9.11
This commit is contained in:
@@ -103,6 +103,7 @@ pub fn router(state: AppState) -> Router {
|
||||
.route("/api/access-tokens", get(list_access_tokens).post(create_access_token))
|
||||
.route("/api/access-tokens/:id", axum::routing::delete(delete_access_token))
|
||||
.route("/api/integrations/home-assistant/test", post(test_home_assistant))
|
||||
.route("/api/integrations/home-assistant/entity", post(inspect_home_assistant_entity))
|
||||
.route("/api/integrations/notifications/test", post(test_notifications))
|
||||
.route_layer(middleware::from_fn_with_state(state.clone(), auth));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user