1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-21 23:44:30 +00:00

fixup! Improvements to group following

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-10-25 18:33:41 +02:00
parent 9b1f355751
commit 2c99f8c52d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -32,7 +32,7 @@ defmodule Mobilizon.Web.Auth.Guardian do
try do
case Integer.parse(uid_str) do
{uid, ""} ->
{:ok, Users.get_user!(uid)}
{:ok, Users.get_user_with_actors!(uid)}
_ ->
{:error, :invalid_id}