about summary refs log tree commit diff
path: root/kittybox-rs/src/micropub/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/src/micropub/util.rs')
-rw-r--r--kittybox-rs/src/micropub/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/kittybox-rs/src/micropub/util.rs b/kittybox-rs/src/micropub/util.rs
index b884e8a..940d7c3 100644
--- a/kittybox-rs/src/micropub/util.rs
+++ b/kittybox-rs/src/micropub/util.rs
@@ -209,11 +209,11 @@ pub(crate) async fn create_feed(
                 "name": [name],
                 "uid": [channel]
             },
-            "children": [uid]
         }),
         user,
     );
-    storage.put_post(&feed, user.me.as_str()).await
+    storage.put_post(&feed, user.me.as_str()).await?;
+    storage.add_to_feed(channel, uid).await
 }
 
 #[cfg(test)]