mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-24 00:50:29 +00:00
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