You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/crates/api/src
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
2 months ago
..
comment Make all single-fetch database calls return an Option. (#4617) 2 months ago
comment_report Make all single-fetch database calls return an Option. (#4617) 2 months ago
community Make all single-fetch database calls return an Option. (#4617) 2 months ago
local_user Make all single-fetch database calls return an Option. (#4617) 2 months ago
post Make all single-fetch database calls return an Option. (#4617) 2 months ago
post_report Make all single-fetch database calls return an Option. (#4617) 2 months ago
private_message Make all single-fetch database calls return an Option. (#4617) 2 months ago
private_message_report Make all single-fetch database calls return an Option. (#4617) 2 months ago
site Make all single-fetch database calls return an Option. (#4617) 2 months ago
lib.rs Make all single-fetch database calls return an Option. (#4617) 2 months ago
sitemap.rs Fixing some clippy and woodpecker lints. (#4565) 3 months ago