lemmy/crates/api_crud/src/post
Dessalines 2402515fcc
Dont allow posts to deleted / removed communities. Fixes #1827 (#1828)
* Dont allow posts to deleted / removed communities. Fixes #1827

* Fixing couldnt find community error.

* Adding check in createorupdate post and comment.

* make sure post wasn't deleted or removed.

* Adding a post not deleted or removed check to creatorupdatecomment.

* Using pub(crate)
2021-10-14 16:33:19 +00:00
..
create.rs Dont allow posts to deleted / removed communities. Fixes #1827 (#1828) 2021-10-14 16:33:19 +00:00
delete.rs Dont allow posts to deleted / removed communities. Fixes #1827 (#1828) 2021-10-14 16:33:19 +00:00
mod.rs Split api crate into api_structs and api 2021-03-25 20:19:40 +01:00
read.rs Dont swallow API errors (fixes #1834) (#1837) 2021-10-13 15:50:21 -04:00
update.rs Dont allow posts to deleted / removed communities. Fixes #1827 (#1828) 2021-10-14 16:33:19 +00:00