Skip to content

Commit

Permalink
fix: odd behaviour seen when using REPLICA_DATABASE_URLS (#3771)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Apr 17, 2024
1 parent a7ee657 commit ec9e8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_audit_log_from_historical_record(
else None
)

environment, project = history_instance.instance.get_environment_and_project()
environment, project = instance.get_environment_and_project()
if project != history_instance.instance and (
(project and project.deleted_at)
or (environment and environment.project.deleted_at)
Expand Down

0 comments on commit ec9e8ab

Please sign in to comment.