mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-04 08:01:54 +00:00
build ce
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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(),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user