pub async fn update_settings(
    app_settings: State<'_, Arc<RwLock<AppSettings>>>,
    settings: AppSettings
) -> Result<(), String>