Skip to content

Commit

Permalink
Update keep/api/core/db.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kirill Chernakov <yakiryous@gmail.com>
Signed-off-by: Vladimir Filonov <vladimir@filonov.dev>
  • Loading branch information
VladimirFilonov and Kiryous committed Nov 24, 2024
1 parent 8185a54 commit 9e959ae
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 @@ -4539,7 +4539,7 @@ def get_activity_report(

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 9e959ae

Please sign in to comment.