Browse Source

Revert "Merge branch 'surendarrajasekaran-master-patch-46809' into 'master'"

This reverts merge request !1176
David Burke 5 months ago
parent
commit
5dfbf362a9
1 changed files with 1 additions and 6 deletions
  1. 1 6
      apps/projects/schema.py

+ 1 - 6
apps/projects/schema.py

@@ -41,7 +41,7 @@ class ProjectSchema(NameSlugProjectSchema, ModelSchema):
     DSN keys, be connected to exactly one organization, and provide user permissions
     through teams.
     """
-    id: str
+
     avatar: dict[str, Optional[str]] = {"avatarType": "", "avatarUuid": None}
     color: str = ""
     features: list = []
@@ -66,11 +66,6 @@ class ProjectSchema(NameSlugProjectSchema, ModelSchema):
             "event_throttle_rate",  # Not in Sentry OSS
         ]
 
-    @staticmethod
-    def resolve_id(obj):
-        return str(obj.id)
-
-
     class Config(CamelSchema.Config):
         pass