additional database stream deserializations for serde_json::from_ elim
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
d526db681f
commit
57e0a5f65d
4 changed files with 57 additions and 82 deletions
|
@ -99,7 +99,7 @@ impl Service {
|
|||
.senderkey_pusher
|
||||
.stream_prefix(&prefix)
|
||||
.ignore_err()
|
||||
.map(|(_, val): (Ignore, &[u8])| serde_json::from_slice(val).expect("Invalid Pusher in db."))
|
||||
.map(|(_, pusher): (Ignore, Pusher)| pusher)
|
||||
.collect()
|
||||
.await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue