There was an error while loading. Please reload this page.
1 parent 1f6fcdd commit 4018f07Copy full SHA for 4018f07
1 file changed
api/segments/serializers.py
@@ -25,7 +25,7 @@ class ConditionSerializer(serializers.ModelSerializer[Condition]):
25
class Meta:
26
model = Condition
27
fields = [
28
- "pk",
+ "id",
29
"operator",
30
"property",
31
"value",
@@ -59,7 +59,7 @@ class _NestedSegmentRuleSerializer(_BaseSegmentRuleSerializer):
59
60
model = SegmentRule
61
62
63
"type",
64
"conditions",
65
"delete",
@@ -75,7 +75,7 @@ class SegmentRuleSerializer(_BaseSegmentRuleSerializer):
75
76
77
78
79
80
"rules",
81
0 commit comments