1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-27 07:49:21 +00:00
comunicapiv3/src/controllers/calls_controller.rs

15 lines
392 B
Rust
Raw Normal View History

2020-07-13 09:49:14 +00:00
//! # Calls controller
//!
//! @author Pierre Hubert
use std::collections::HashMap;
use crate::controllers::routes::RequestResult;
use crate::data::http_request_handler::HttpRequestHandler;
/// Get legacy call configuration
pub fn get_legacy_config(r: &mut HttpRequestHandler) -> RequestResult {
let mut map = HashMap::new();
map.insert("enabled", false);
r.set_response(map)
}