From 42b9cc73acb8afa0bcf73c38b448c5f34615418a Mon Sep 17 00:00:00 2001 From: BlackDex Date: Mon, 12 Sep 2022 14:10:54 +0200 Subject: [PATCH] Fix issue 2737, unable to create org There was a small oversight on upgrading to v2022.9.0 web-vault version. It seems the call to the /plans/ endpoint doesn't provide authentication anymore. Removed this check and it seems to work again. Fixes #2737 --- src/api/core/organizations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs index 9b7d264c..32f4f6a5 100644 --- a/src/api/core/organizations.rs +++ b/src/api/core/organizations.rs @@ -1351,7 +1351,7 @@ fn get_organization_tax(org_id: String, _headers: Headers) -> Json { } #[get("/plans")] -fn get_plans(_headers: Headers) -> Json { +fn get_plans() -> Json { // Respond with a minimal json just enough to allow the creation of an new organization. Json(json!({ "Object": "list",