From 6a374cacdf0f04de94486913bba5285e24e178d3 Mon Sep 17 00:00:00 2001 From: jctanner Date: Fri, 25 Aug 2023 12:58:09 -0400 Subject: [PATCH] The active user model does not need and does not have a github_id. (#3236) No-Issue Signed-off-by: James Tanner --- galaxy/api/serializers/users.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/galaxy/api/serializers/users.py b/galaxy/api/serializers/users.py index 55ba01ada..cd0ae3d0e 100644 --- a/galaxy/api/serializers/users.py +++ b/galaxy/api/serializers/users.py @@ -20,7 +20,6 @@ USER_FIELDS = ( 'id', 'url', 'related', 'summary_fields', 'created', 'modified', 'username', 'staff', 'full_name', 'date_joined', 'avatar_url', - 'github_id' ) __all__ = [ @@ -61,7 +60,7 @@ class UserSerializer(BaseSerializer): class Meta: model = User - fields = USER_FIELDS + fields = USER_FIELDS + ('github_id',) def get_related(self, obj): if not obj or not obj.is_authenticated: