additional database stream deserializations for serde_json::from_ elim

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2024-10-26 18:50:28 -04:00
1 parent d526db681f
commit 57e0a5f65d
4 files changed
+57 -82

No files matched your search

+1 -1
View File
@@ -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
}