Improvements to group following

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-10-25 16:53:46 +02:00
parent 3e74982ec4
commit d0b125064f
8 changed files with 57 additions and 23 deletions

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}