move WellKnownResponse to src/types/
This commit is contained in:
parent
8224acf897
commit
5792c61d09
|
@ -106,6 +106,7 @@ compile_error!("feature \"rt\" and feature \"rt_multi_thread\" cannot be enabled
|
|||
|
||||
use errors::ChorusResult;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use types::types::domains_configuration::WellKnownResponse;
|
||||
use url::{ParseError, Url};
|
||||
|
||||
use crate::errors::ChorusError;
|
||||
|
@ -223,11 +224,6 @@ impl UrlBundle {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
struct WellKnownResponse {
|
||||
pub(crate) api: String,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod lib {
|
||||
use super::*;
|
||||
|
|
Loading…
Reference in New Issue