Skip to content

fix(audit): handle case where AuditLog doesn't have a history record#3357

Merged
matthewelwell merged 1 commit into
mainfrom
fix(audit)/handle-mising-history-record
Jan 31, 2024
Merged

fix(audit): handle case where AuditLog doesn't have a history record#3357
matthewelwell merged 1 commit into
mainfrom
fix(audit)/handle-mising-history-record

Conversation

@matthewelwell
Copy link
Copy Markdown
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Fixes this Sentry issue which is thrown when rendering detail page for an Audit log which doesn't have an associated history record.

How did you test this code?

Added a unit test.

@matthewelwell matthewelwell requested review from a team and novakzaballa and removed request for a team January 31, 2024 10:47
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2024 10:58am
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2024 10:58am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2024 10:58am

@github-actions github-actions Bot added the api Issue related to the REST API label Jan 31, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 31, 2024

Uffizzi Preview deployment-45476 was deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Issue related to the REST API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants