cringe
This commit is contained in:
parent
ce15e0659e
commit
4587a5712a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue