Browse Source

Merge fa8f4573ab into 3f010a50af

pull/6369/merge
Stefan Melmuk 1 day ago
committed by GitHub
parent
commit
3ee0dcf784
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 11
      src/api/core/organizations.rs

11
src/api/core/organizations.rs

@ -105,6 +105,7 @@ pub fn routes() -> Vec<Route> {
api_key,
rotate_api_key,
get_billing_metadata,
get_billing_warnings,
get_auto_enroll_status,
]
}
@ -2273,6 +2274,16 @@ fn get_billing_metadata(_org_id: OrganizationId, _headers: Headers) -> Json<Valu
Json(_empty_data_json())
}
#[get("/organizations/<_org_id>/billing/vnext/warnings")]
fn get_billing_warnings(_org_id: OrganizationId, _headers: Headers) -> Json<Value> {
Json(json!({
"freeTrial":null,
"inactiveSubscription":null,
"resellerRenewal":null,
"taxId":null,
}))
}
fn _empty_data_json() -> Value {
json!({
"object": "list",

Loading…
Cancel
Save