1
0
mirror of https://github.com/bitwarden/server synced 2025-12-12 22:33:45 +00:00

[PM-25379] Refactor org metadata (#6418)

* ignore serena

* removing unused properties from org metadata

* removing further properties that can already be fetched on the client side using available data

* new vnext endpoint for org metadata plus caching metadata first pass

including new feature flag

# Conflicts:
#	src/Core/Constants.cs

* [PM-25379] decided against cache and new query shouldn't use the service

* pr feedback

removing unneeded response model

* run dotnet format
This commit is contained in:
Kyle Denney
2025-10-09 15:50:07 -05:00
committed by GitHub
parent 34f5ffd981
commit 3bef57259d
12 changed files with 498 additions and 97 deletions

View File

@@ -38,9 +38,7 @@ public class OrganizationBillingController(
return Error.NotFound();
}
var response = OrganizationMetadataResponse.From(metadata);
return TypedResults.Ok(response);
return TypedResults.Ok(metadata);
}
[HttpGet("history")]