From 554bdd46858dbdb4a96c3bbca0d7a95883855976 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 30 May 2024 08:19:42 +0200 Subject: [PATCH] add renew license key for tests --- backend/windmill-common/src/ee.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/windmill-common/src/ee.rs b/backend/windmill-common/src/ee.rs index 5f2e656429..a1ce5b917b 100644 --- a/backend/windmill-common/src/ee.rs +++ b/backend/windmill-common/src/ee.rs @@ -30,3 +30,9 @@ pub async fn trigger_critical_error_channels(_error_message: String) {} pub async fn schedule_key_renewal(_http_client: &reqwest::Client, _db: &crate::db::DB) -> () { // Implementation is not open source } + +#[cfg(feature = "enterprise")] +pub async fn renew_license_key(_http_client: &reqwest::Client, _db: &crate::db::DB) -> String { + // Implementation is not open source + "".to_string() +}