Make get_limits_config part of public api

This commit is contained in:
bitfl0wer 2023-12-03 21:42:41 +01:00
parent f5774ae047
commit bd1793fdb1
1 changed files with 1 additions and 1 deletions

View File

@ -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()