This commit is contained in:
Alex Petric
2025-02-05 12:06:27 -05:00
parent bee9ed5acc
commit 58350db089
2 changed files with 5 additions and 10 deletions
-1
View File
@@ -106,7 +106,6 @@ mod slack_approvals;
mod smtp_server_ee;
mod static_assets;
mod stripe_ee;
#[cfg(feature = "enterprise")]
mod teams_ee;
mod tracing_init;
mod triggers;
+5 -9
View File
@@ -1,23 +1,19 @@
use axum::Router;
use windmill_common::error::{Error, Result};
use http::status::StatusCode;
use windmill_common::error::Error;
pub fn teams_service() -> Router {
Router::new()
}
pub fn edit_teams_command() -> Result<String> {
pub async fn edit_teams_command() -> Result<StatusCode, Error> {
return Err(Error::BadRequest(
"Deploy to is only available on enterprise".to_string(),
));
}
pub fn workspaces_list_available_teams_ids() -> Result<String> {
pub async fn workspaces_list_available_teams_ids() -> Result<StatusCode, Error> {
return Err(Error::BadRequest(
"Deploy to is only available on enterprise".to_string(),
));
}
pub fn connect_teams() -> Result<String> {
pub async fn connect_teams() -> Result<StatusCode, Error> {
return Err(Error::BadRequest(
"Deploy to is only available on enterprise".to_string(),
));