Make get_limits_config part of public api
This commit is contained in:
parent
f5774ae047
commit
bd1793fdb1
|
@ -349,7 +349,7 @@ impl ChorusRequest {
|
|||
///
|
||||
/// # Reference
|
||||
/// See <https://docs.spacebar.chat/routes/#get-/policies/instance/limits/>
|
||||
pub(crate) async fn get_limits_config(url_api: &str) -> ChorusResult<LimitsConfiguration> {
|
||||
pub async fn get_limits_config(url_api: &str) -> ChorusResult<LimitsConfiguration> {
|
||||
let request = Client::new()
|
||||
.get(format!("{}/policies/instance/limits/", url_api))
|
||||
.send()
|
||||
|
|
Loading…
Reference in New Issue