fix: allow unknown fields, like author

This commit is contained in:
Greg Heartsfield 2021-12-19 16:18:03 -06:00
parent 9b959e1012
commit 7933abaa48

View File

@ -16,7 +16,6 @@ pub struct Subscription {
/// element can be present if it should be used in filtering, or
/// absent ([`None`]) if it should be ignored.
#[derive(Serialize, Deserialize, PartialEq, Debug, Clone)]
#[serde(deny_unknown_fields)]
pub struct ReqFilter {
/// Event hash
pub id: Option<String>,