diff options
author | 2021-02-22 09:00:54 +0200 | |
---|---|---|
committer | 2021-02-22 09:00:54 +0200 | |
commit | 71388fff77dcb2b074e02dfe33133d779c9afa2d (patch) | |
tree | ce9f5ac108014dbbe4fa7fec50965fe10a1bdcb8 /pydis_site/apps | |
parent | Update nominations viewset GET and POST to make this working with 2-table system (diff) |
Add reviewed field to nomination serializer
Diffstat (limited to 'pydis_site/apps')
-rw-r--r-- | pydis_site/apps/api/serializers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/serializers.py b/pydis_site/apps/api/serializers.py index 65c69849..96f28aee 100644 --- a/pydis_site/apps/api/serializers.py +++ b/pydis_site/apps/api/serializers.py @@ -362,7 +362,7 @@ class NominationSerializer(ModelSerializer): model = Nomination fields = ( - 'id', 'active', 'user', 'inserted_at', 'end_reason', 'ended_at' + 'id', 'active', 'user', 'inserted_at', 'end_reason', 'ended_at', 'reviewed' ) |