Fix action logs containing group suspension events

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-11-04 18:34:43 +01:00
parent 39ea05a04a
commit 8519364e77
2 changed files with 25 additions and 16 deletions

View File

@@ -64,13 +64,13 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do
%Comment{}, _ ->
:comment
%Actor{type: "Person"}, _ ->
%Actor{type: :Person}, _ ->
:person
%User{}, _ ->
:user
%Actor{type: "Group"}, _ ->
%Actor{type: :Group}, _ ->
:group
_, _ ->