aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/bsky.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-12-19 23:59:55 -0800
committerbryan newbold <bnewbold@robocracy.org>2022-12-20 00:29:58 -0800
commitee33d2559d6695149a6a15b948ae2ab1a254e251 (patch)
treef85a0f3b7b0ddbc5f2c71f7e4cb958b6ab971d42 /adenosine-pds/src/bsky.rs
parent8d020c0088dce778c25c43c2572a6c197869a208 (diff)
downloadadenosine-ee33d2559d6695149a6a15b948ae2ab1a254e251.tar.gz
adenosine-ee33d2559d6695149a6a15b948ae2ab1a254e251.zip
pds: make 'cid' required in feed items
Diffstat (limited to 'adenosine-pds/src/bsky.rs')
-rw-r--r--adenosine-pds/src/bsky.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/adenosine-pds/src/bsky.rs b/adenosine-pds/src/bsky.rs
index c976be2..db6353a 100644
--- a/adenosine-pds/src/bsky.rs
+++ b/adenosine-pds/src/bsky.rs
@@ -200,7 +200,7 @@ fn feed_row_to_item(srv: &mut AtpService, row: FeedRow) -> Result<FeedItem> {
let feed_item = FeedItem {
uri,
- cid: Some(row.item_post_cid.to_string()),
+ cid: row.item_post_cid.to_string(),
author: User {
did: row.item_did.to_string(),
handle: row.item_handle,