diff options
author | 2020-05-27 09:24:48 +0200 | |
---|---|---|
committer | 2020-05-27 09:24:48 +0200 | |
commit | 354d78ea01b11f8197dd6933be460f9b277e4645 (patch) | |
tree | f3f53c87cd8ae8b520a960b848e95b11d9b6b245 /pydis_site/apps/api/serializers.py | |
parent | Merge pull request #353 from python-discord/post-game-jam (diff) |
No longer accept or track avatar_hash.
This should completely remove avatar_hash from the site - both in our
tests, in the model itself, and from the database (as a result of the
migration).
Diffstat (limited to 'pydis_site/apps/api/serializers.py')
-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 e11c4af2..cc3f167d 100644 --- a/pydis_site/apps/api/serializers.py +++ b/pydis_site/apps/api/serializers.py @@ -235,7 +235,7 @@ class UserSerializer(BulkSerializerMixin, ModelSerializer): """Metadata defined for the Django REST Framework.""" model = User - fields = ('id', 'avatar_hash', 'name', 'discriminator', 'roles', 'in_guild') + fields = ('id', 'name', 'discriminator', 'roles', 'in_guild') depth = 1 |