lemmy/crates/apub/src/protocol/activities
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
..
block Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
community Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
create_or_update Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
deletion Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
following Use result instead of unwrap in apub tests (#4168) 2023-11-16 22:51:33 -05:00
voting Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
mod.rs Handle federated reports from Mastodon, Kbin (#4323) 2024-01-05 11:03:13 -05:00