Skip to content

Commit

Permalink
Merge branch 'feature/2398-change-relation-between-alerts-and-inciden…
Browse files Browse the repository at this point in the history
…ts-to-work-with-fingerprints-instead-of-alert_ids' of github.com:keephq/keep into feature/2398-change-relation-between-alerts-and-incidents-to-work-with-fingerprints-instead-of-alert_ids
  • Loading branch information
VladimirFilonov committed Nov 21, 2024
2 parents bec5fa3 + 7db708b commit 0ca5e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep/api/core/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -4491,7 +4491,7 @@ def get_resource_ids_by_resource_type(

def get_last_alert_by_fingerprint(
tenant_id: str, fingerprint: str, session: Optional[Session] = None
) -> Optional[Alert]:
) -> Optional[LastAlert]:
with existed_or_new_session(session) as session:
return session.exec(
select(LastAlert)
Expand Down

0 comments on commit 0ca5e87

Please sign in to comment.