cringe
This commit is contained in:
parent
ce15e0659e
commit
4587a5712a
@ -460,7 +460,7 @@ defmodule Pleroma.User do
|
|||||||
user = get_cached_by_id(maybe_id)
|
user = get_cached_by_id(maybe_id)
|
||||||
|
|
||||||
if user == nil do
|
if user == nil do
|
||||||
raise ArgumentError, message: "invalid argument foo"
|
raise ArgumentError, message: "No such user id"
|
||||||
else
|
else
|
||||||
user
|
user
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user