We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3848adb commit 7427fdaCopy full SHA for 7427fda
src/sentry/api/serializers/models/auditlogentry.py
@@ -2,16 +2,11 @@
2
3
import six
4
5
-from bitfield.types import BitHandler
6
from sentry.api.serializers import Serializer, register, serialize
7
from sentry.models import AuditLogEntry
8
9
10
def fix(data):
11
- # XXX(dcramer): At some point Organization.flags was serialized as a BitHandler
12
- if "flags" in data and isinstance(data["flags"], BitHandler):
13
- data["flags"] = int(data["flags"])
14
-
15
# There was a point in time where full Team objects
16
# got serialized into our AuditLogEntry.data, so these
17
# values need to be stripped and reduced down to integers
0 commit comments