diff --git a/backend/windmill-api/src/concurrency_groups.rs b/backend/windmill-api/src/concurrency_groups.rs index 01a8888ed3..57a0941492 100644 --- a/backend/windmill-api/src/concurrency_groups.rs +++ b/backend/windmill-api/src/concurrency_groups.rs @@ -16,6 +16,11 @@ pub fn global_service() -> Router { .route("/*id", delete(delete_concurrency_group)) } +#[cfg(not(feature = "enterprise"))] +pub fn global_service() -> Router { + Router::new() +} + #[derive(Serialize)] pub struct ConcurrencyGroups { concurrency_id: String,