lemmy/crates/api/src/site/purge
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
..
comment.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
community.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
mod.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00
person.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
post.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00