fix oss build

This commit is contained in:
Ruben Fiszel
2024-02-17 11:19:08 +01:00
parent 810ea6f4d7
commit 51e1d48fa3
+6 -2
View File
@@ -6,11 +6,15 @@
* LICENSE-AGPL for a copy of the license.
*/
use axum::{middleware::Next, response::Response, Router};
use axum::{middleware::Next, response::Response, routing::get, Router};
use hyper::Request;
pub fn global_service() -> Router {
Router::new()
Router::new().route("/ee", get(ee))
}
pub async fn ee() -> String {
return "Enterprise Edition".to_string();
}
pub async fn has_scim_token<B>(request: Request<B>, next: Next<B>) -> Response {