Skip to content
GitLab
Explore
Sign in
Register
Pleroma
pleroma
Issues
#718
User.get_or_fetch_by_{ap_id,nickname} have inconsistent return types
by_ap_id returns
{:error, "Error"}
on error
by_nickname returns nil on error
both return just the user on success, not
{:ok, user}