mirror of
https://git.sr.ht/~gheartsfield/nostr-rs-relay
synced 2024-09-20 08:46:35 +00: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