Fix manifest deserialisation
This commit is contained in:
parent
24f72716b9
commit
a418dcd8ea
@ -17,6 +17,7 @@
|
||||
use endpoint::EndpointInfo;
|
||||
|
||||
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct App {
|
||||
pub id: String,
|
||||
pub name: String,
|
||||
@ -54,6 +55,7 @@ impl Into<EndpointInfo> for App {
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct ApiError {
|
||||
pub code: String,
|
||||
pub title: String,
|
||||
|
Loading…
Reference in New Issue
Block a user