lemmy/crates/api/src/post
Dessalines d075acce43
Make all single-fetch database calls return an Option. (#4617)
- Diesel ordinarily throws an error when no results are returned for a
  single fetch, which is a bit confusing. This PR ensures that the
  missing value cases are all caught, and wrapped with new LemmyErrors,
  rather than diesel errors.
- Fixes #4601
2024-04-16 14:48:15 +02:00
..
feature.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
get_link_metadata.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
hide.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
like.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
list_post_likes.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
lock.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
mark_read.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
mod.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
save.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00