diff options
author | 2020-01-13 21:14:40 +0100 | |
---|---|---|
committer | 2020-01-13 21:14:40 +0100 | |
commit | e35529d1c0215ac8d7148c66a786ab8780e1f2e9 (patch) | |
tree | 968067e10c1e6255a3ae9672aaf818297f2f5a7a /pydis_site/apps/api/serializers.py | |
parent | Adding iframe attributes to attribute whitelist (diff) | |
parent | Update migration dependency to the latest merged (diff) |
Merge pull request #303 from python-discord/bot#549-show-attachments-staff
Show attachments in staff log
Diffstat (limited to 'pydis_site/apps/api/serializers.py')
-rw-r--r-- | pydis_site/apps/api/serializers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/apps/api/serializers.py b/pydis_site/apps/api/serializers.py index 52a82eac..0d1a4684 100644 --- a/pydis_site/apps/api/serializers.py +++ b/pydis_site/apps/api/serializers.py @@ -50,7 +50,8 @@ class DeletedMessageSerializer(ModelSerializer): fields = ( 'id', 'author', 'channel_id', 'content', - 'embeds', 'deletion_context' + 'embeds', 'deletion_context', + 'attachments' ) |