AdminAPI: return id for moderation log entries
This commit is contained in:
parent
afe9c152ab
commit
0ec7e9b8e9
3 changed files with 7 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ defmodule Pleroma.Web.AdminAPI.ModerationLogView do
|
|||
|> DateTime.to_unix()
|
||||
|
||||
%{
|
||||
id: log_entry.id,
|
||||
data: log_entry.data,
|
||||
time: time,
|
||||
message: ModerationLog.get_log_entry_message(log_entry)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue