mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-12-23 08:55:51 -05:00
fix: allow unknown fields, like author
This commit is contained in:
parent
9b959e1012
commit
7933abaa48
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue
Block a user