Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Update src/docs/feedback-architecture.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Michelle Zhang <[email protected]>
  • Loading branch information
aliu39 and michellewzhang authored Jun 24, 2024
1 parent 4b3e78b commit b23ba08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/feedback-architecture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ user_report = {
### [`save_userreport()`](https://github.com/getsentry/sentry/blob/2b642e149c79b251e1c2f4339fc73d656347d74e/src/sentry/ingest/userreport.py#L28-L28)

Before it was extended to generic feedback, the [`UserReport` model](https://github.com/getsentry/sentry/blob/2b642e149c79b251e1c2f4339fc73d656347d74e/src/sentry/models/userreport.py#L9-L9)
was first used for crash reports. Therefore an associated event id is required, and
was first used for crash reports. Therefore an associated event ID is required, and
we use it to set environment and group before saving the model to **Postgres**.
Then we shim the report to a **feedback event** and pass it to `create_feedback_issue()`.

Expand Down

0 comments on commit b23ba08

Please sign in to comment.