Skip to content

Commit f4d4913

Browse files
committed
ref: address PR feedback
1 parent 126075f commit f4d4913

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sentry/api/endpoints/organization_trace.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class SerializedEvent(TypedDict):
3131
description: str
3232
event_id: str
3333
event_type: str
34-
is_transaction: bool
3534
project_id: int
3635
project_slug: str
3736
start_timestamp: datetime
@@ -45,6 +44,7 @@ class SerializedSpan(SerializedEvent):
4544
end_timestamp: datetime
4645
op: str
4746
parent_span_id: str | None
47+
is_transaction: bool
4848

4949

5050
@region_silo_endpoint
@@ -84,7 +84,6 @@ def serialize_rpc_event(self, event: dict[str, Any]) -> SerializedEvent:
8484
project_id=event["project.id"],
8585
project_slug=event["project.name"],
8686
start_timestamp=event["timestamp"],
87-
is_transaction=False,
8887
transaction=event["transaction"],
8988
description=event["message"],
9089
event_type="error",

0 commit comments

Comments
 (0)