From 0548c6e42ac7a0b6739d1fb5f64e8c7038c75abb Mon Sep 17 00:00:00 2001 From: glyph Date: Fri, 9 Sep 2022 10:56:40 +0100 Subject: [PATCH] add clarification about post deletion --- part_9_read_delete/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/part_9_read_delete/README.md b/part_9_read_delete/README.md index 4a20446..b14c655 100644 --- a/part_9_read_delete/README.md +++ b/part_9_read_delete/README.md @@ -219,6 +219,8 @@ We still need to mount these routes to our Rocket application in `src/main.rs` a We already have a `remove_peer()` method in our database which is used when we unsubscribe from a peer. Now we'll write the equivalent method for a post. +Remember that we are deleting the post from our key-value store, _not_ the sbot database! The message will remain in the log kept by the sbot. + `src/db.rs` ```rust