AdminAPI: return id for moderation log entries

This commit is contained in:
Alex Gleason 2021-01-01 11:58:42 -06:00
commit 0ec7e9b8e9
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
3 changed files with 7 additions and 0 deletions

View file

@ -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)