mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-10 10:03:38 -04:00
fix filter_bys
This commit is contained in:
@@ -88,7 +88,7 @@ def test_deactivating_service_creates_history(archived_service):
|
||||
history = (
|
||||
db.session.execute(
|
||||
select(ServiceHistory)
|
||||
.filter_by(id=archived_service.id)
|
||||
.where(ServiceHistory.id == archived_service.id)
|
||||
.order_by(ServiceHistory.version.desc())
|
||||
)
|
||||
.scalars()
|
||||
|
||||
Reference in New Issue
Block a user